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

Unified Diff: base/android/java/src/org/chromium/base/PowerStatusReceiver.java

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
Index: base/android/java/src/org/chromium/base/PowerStatusReceiver.java
diff --git a/base/android/java/src/org/chromium/base/PowerStatusReceiver.java b/base/android/java/src/org/chromium/base/PowerStatusReceiver.java
index 89594b8d92ed52052f6b5efa094617f43d59e1be..f36c146273f1589b4582eb1c6ec47e35e0f689e5 100644
--- a/base/android/java/src/org/chromium/base/PowerStatusReceiver.java
+++ b/base/android/java/src/org/chromium/base/PowerStatusReceiver.java
@@ -11,13 +11,13 @@ import android.content.Intent;
/**
* A BroadcastReceiver that listens to changes in power status and notifies
- * SystemMonitor.
+ * PowerMonitor.
* It's instantiated by the framework via the application intent-filter
* declared in its manifest.
*/
public class PowerStatusReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
- SystemMonitor.onBatteryChargingChanged(intent);
+ PowerMonitor.onBatteryChargingChanged(intent);
}
}
« no previous file with comments | « base/android/java/src/org/chromium/base/PowerMonitor.java ('k') | base/android/java/src/org/chromium/base/SystemMonitor.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698