summaryrefslogtreecommitdiffstats
path: root/base/build
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-25 18:46:11 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-25 18:46:11 +0000
commita20e82fa0c45fee5515a2ebfc46f38dc65446ef7 (patch)
tree3d14c292858f52cee26ee431410849499f7fcc52 /base/build
parentf9ef79b3c3f5e6a1b00909b30692d47ba92925e6 (diff)
downloadchromium_src-a20e82fa0c45fee5515a2ebfc46f38dc65446ef7.zip
chromium_src-a20e82fa0c45fee5515a2ebfc46f38dc65446ef7.tar.gz
chromium_src-a20e82fa0c45fee5515a2ebfc46f38dc65446ef7.tar.bz2
Implement a SystemMonitor class for monitoring system status
changes. For now, this is just implementing power changes (e.g. battery/AC power changes). This CL just contains this class; the hooking into Chrome will come in a separate CL, but I've tested the basics already. Review URL: http://codereview.chromium.org/4051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2593 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/build')
-rw-r--r--base/build/base.vcproj12
-rw-r--r--base/build/base_unittests.vcproj4
2 files changed, 16 insertions, 0 deletions
diff --git a/base/build/base.vcproj b/base/build/base.vcproj
index 5f69555..c80e372 100644
--- a/base/build/base.vcproj
+++ b/base/build/base.vcproj
@@ -718,6 +718,18 @@
>
</File>
<File
+ RelativePath="..\system_monitor.cc"
+ >
+ </File>
+ <File
+ RelativePath="..\system_monitor.h"
+ >
+ </File>
+ <File
+ RelativePath="..\system_monitor_win.cc"
+ >
+ </File>
+ <File
RelativePath="..\task.h"
>
</File>
diff --git a/base/build/base_unittests.vcproj b/base/build/base_unittests.vcproj
index 1fa32c9..4f1d999 100644
--- a/base/build/base_unittests.vcproj
+++ b/base/build/base_unittests.vcproj
@@ -316,6 +316,10 @@
>
</File>
<File
+ RelativePath="..\system_monitor_unittest.cc"
+ >
+ </File>
+ <File
RelativePath="..\thread_local_storage_unittest.cc"
>
</File>