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

Unified Diff: base/power_monitor/power_monitor_android.h

Issue 10959020: SystemMonitor refactoring: move power state monitor into a separate class called PowerMonitor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use holder class for lazy initialization on Android Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/power_monitor/power_monitor.cc ('k') | base/power_monitor/power_monitor_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/power_monitor/power_monitor_android.h
diff --git a/base/android/important_file_writer_android.h b/base/power_monitor/power_monitor_android.h
similarity index 43%
copy from base/android/important_file_writer_android.h
copy to base/power_monitor/power_monitor_android.h
index 20956babcea94fbd33762f0d7eaa5fed15a05c45..7f4316488fbec6e9b53b04f463cacfa38372f842 100644
--- a/base/android/important_file_writer_android.h
+++ b/base/power_monitor/power_monitor_android.h
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NATIVE_FRAMEWORK_CHROME_IMPORTANT_FILE_WRITE_ANDROID_H_
-#define NATIVE_FRAMEWORK_CHROME_IMPORTANT_FILE_WRITE_ANDROID_H_
+#ifndef BASE_POWER_MONITOR_POWER_MONITOR_ANDROID_H_
+#define BASE_POWER_MONITOR_POWER_MONITOR_ANDROID_H_
#include <jni.h>
namespace base {
-namespace android {
-bool RegisterImportantFileWriterAndroid(JNIEnv* env);
+// Registers the JNI bindings for PowerMonitor.
+bool RegisterPowerMonitor(JNIEnv* env);
-} // namespace android
} // namespace base
-#endif // NATIVE_FRAMEWORK_CHROME_IMPORTANT_FILE_WRITE_ANDROID_H_
+#endif // BASE_POWER_MONITOR_POWER_MONITOR_ANDROID_H_
« no previous file with comments | « base/power_monitor/power_monitor.cc ('k') | base/power_monitor/power_monitor_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698