summaryrefslogtreecommitdiffstats
path: root/base/system_monitor.h
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 19:07:32 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 19:07:32 +0000
commit322f7f7005061fee5e3b691e6aee318ea93a7eb8 (patch)
tree4d743cbbbee965d8b087171b9ee315f2ffc93865 /base/system_monitor.h
parenta618550847f7c09eea7bb27e43bb226f330e5525 (diff)
downloadchromium_src-322f7f7005061fee5e3b691e6aee318ea93a7eb8.zip
chromium_src-322f7f7005061fee5e3b691e6aee318ea93a7eb8.tar.gz
chromium_src-322f7f7005061fee5e3b691e6aee318ea93a7eb8.tar.bz2
Change to integrate SystemMonitor changes into chrome.
This enables the dynamic detection of battery status changes so that we can turn on/off the hi-res timer. Review URL: http://codereview.chromium.org/10264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/system_monitor.h')
-rw-r--r--base/system_monitor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/system_monitor.h b/base/system_monitor.h
index 7a2d4d5..4756e6733 100644
--- a/base/system_monitor.h
+++ b/base/system_monitor.h
@@ -20,8 +20,10 @@ class SystemMonitor {
return Singleton<SystemMonitor>::get();
}
- // To start the System Monitor within an application
- // use this call.
+ // Start the System Monitor within a process. This method
+ // is provided so tht the battery check can be deferred.
+ // The MessageLoop must be started before calling this
+ // method.
static void Start();
//