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

Unified Diff: base/android/base_jni_registrar.cc

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 | « no previous file | base/android/java/src/org/chromium/base/PowerMonitor.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/base_jni_registrar.cc
diff --git a/base/android/base_jni_registrar.cc b/base/android/base_jni_registrar.cc
index 6aabd0d0c37077d5fb254c8b642479d6fc4258f7..105d03fdd5a407124d673e6e0591850d14adf551 100644
--- a/base/android/base_jni_registrar.cc
+++ b/base/android/base_jni_registrar.cc
@@ -15,7 +15,7 @@
#include "base/android/path_utils.h"
#include "base/android/thread_utils.h"
#include "base/message_pump_android.h"
-#include "base/system_monitor/system_monitor_android.h"
+#include "base/power_monitor/power_monitor_android.h"
namespace base {
namespace android {
@@ -29,7 +29,7 @@ static RegistrationMethod kBaseRegisteredMethods[] = {
{ "PathService", base::android::RegisterPathService },
{ "PathUtils", base::android::RegisterPathUtils },
{ "SystemMessageHandler", base::MessagePumpForUI::RegisterBindings },
- { "SystemMonitor", base::RegisterSystemMonitor },
+ { "PowerMonitor", base::RegisterPowerMonitor },
{ "ThreadUtils", base::RegisterThreadUtils },
};
« no previous file with comments | « no previous file | base/android/java/src/org/chromium/base/PowerMonitor.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698