diff options
author | hongbo.min@intel.com <hongbo.min@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-03 19:06:51 +0000 |
---|---|---|
committer | hongbo.min@intel.com <hongbo.min@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-03 19:06:51 +0000 |
commit | 6c5905b763d18bf2d81e2d1f4aac7f16ae32f6ea (patch) | |
tree | 86297e816ccbbe8dd10ab6fec01b350be86f63ea /testing | |
parent | 617b65edba554089efd872e9f59f01ae964690ab (diff) | |
download | chromium_src-6c5905b763d18bf2d81e2d1f4aac7f16ae32f6ea.zip chromium_src-6c5905b763d18bf2d81e2d1f4aac7f16ae32f6ea.tar.gz chromium_src-6c5905b763d18bf2d81e2d1f4aac7f16ae32f6ea.tar.bz2 |
Split the power monitoring feature from SystemMonitor
The SystemMonitor is a mixed monitor which not only monitors
the power state changes but also the devices changes. This
patch is to separate the power monitor from SystemMonitor
as a new class PowerMonitor which is dedicated to monitor
power state.
The next step is to seek a opportunity to refactor SystemMonitor
as something like DeviceMonitor.
BUG=149059
TEST=base_unittests --gtest_filter=PowerMonitorTest.*
Review URL: https://chromiumcodereview.appspot.com/10959020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192114 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing')
-rw-r--r-- | testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java index 21b0f85..d15d04e 100644 --- a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java +++ b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java @@ -13,7 +13,7 @@ import android.util.Log; import org.chromium.base.ChromiumActivity; import org.chromium.base.PathUtils; -import org.chromium.base.SystemMonitor; +import org.chromium.base.PowerMonitor; import java.io.File; @@ -43,7 +43,7 @@ public class ChromeNativeTestActivity extends ChromiumActivity { PathUtils.setPrivateDataDirectorySuffix("chrome"); // Needed by system_monitor_unittest.cc - SystemMonitor.createForTests(this); + PowerMonitor.createForTests(this); loadLibrary(); |