Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: chromecast/base/android/dumpstate_writer.h

Issue 2199973003: Android JNI gen: Don't emit code for empty RegisterNatives() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg1
Patch Set: Android JNI gen: Don't emit code for empty RegisterNatives() Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromecast/app/android/crash_handler.cc ('k') | chromecast/base/android/dumpstate_writer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMECAST_BASE_ANDROID_DUMPSTATE_WRITER_H_ 5 #ifndef CHROMECAST_BASE_ANDROID_DUMPSTATE_WRITER_H_
6 #define CHROMECAST_BASE_ANDROID_DUMPSTATE_WRITER_H_ 6 #define CHROMECAST_BASE_ANDROID_DUMPSTATE_WRITER_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 13
14 namespace chromecast { 14 namespace chromecast {
15 15
16 // JNI wrapper for DumpstateWriter.java. 16 // JNI wrapper for DumpstateWriter.java.
17 class DumpstateWriter { 17 class DumpstateWriter {
18 public: 18 public:
19 static bool RegisterJni(JNIEnv* env);
20 static void AddDumpValue(const std::string& name, const std::string& value); 19 static void AddDumpValue(const std::string& name, const std::string& value);
21 20
22 private: 21 private:
23 DISALLOW_IMPLICIT_CONSTRUCTORS(DumpstateWriter); 22 DISALLOW_IMPLICIT_CONSTRUCTORS(DumpstateWriter);
24 }; 23 };
25 24
26 } // namespace chromecast 25 } // namespace chromecast
27 26
28 #endif // CHROMECAST_BASE_ANDROID_DUMPSTATE_WRITER_H_ 27 #endif // CHROMECAST_BASE_ANDROID_DUMPSTATE_WRITER_H_
OLDNEW
« no previous file with comments | « chromecast/app/android/crash_handler.cc ('k') | chromecast/base/android/dumpstate_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698