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

Unified Diff: base/system_monitor_win.cc

Issue 4288: Make the SystemMonitor observer list thread safe.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | « base/system_monitor_unittest.cc ('k') | base/time_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/system_monitor_win.cc
===================================================================
--- base/system_monitor_win.cc (revision 4449)
+++ base/system_monitor_win.cc (working copy)
@@ -10,13 +10,13 @@
PowerEvent power_event;
switch (event_id) {
case PBT_APMPOWERSTATUSCHANGE:
- power_event = PowerStateEvent;
+ power_event = POWER_STATE_EVENT;
break;
case PBT_APMRESUMEAUTOMATIC:
- power_event = ResumeEvent;
+ power_event = RESUME_EVENT;
break;
case PBT_APMSUSPEND:
- power_event = SuspendEvent;
+ power_event = SUSPEND_EVENT;
break;
default:
DCHECK(false);
@@ -37,4 +37,4 @@
-} // namespace base
+} // namespace base
« no previous file with comments | « base/system_monitor_unittest.cc ('k') | base/time_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698