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

Unified Diff: app/system_monitor_win.cc

Issue 431008: Make SystemMonitor not a Singleton and move it out of base (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: fix ChromeFrame build Created 11 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
Index: app/system_monitor_win.cc
diff --git a/base/system_monitor_win.cc b/app/system_monitor_win.cc
similarity index 92%
rename from base/system_monitor_win.cc
rename to app/system_monitor_win.cc
index 8a2d8c96184a2203c3a7768c9171314df7492c3c..c9347dc45e69db07d62198e4bb87560f8573efc6 100644
--- a/base/system_monitor_win.cc
+++ b/app/system_monitor_win.cc
@@ -1,10 +1,8 @@
-// Copyright (c) 2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/system_monitor.h"
-
-namespace base {
+#include "app/system_monitor.h"
void SystemMonitor::ProcessWmPowerBroadcastMessage(int event_id) {
PowerEvent power_event;
@@ -46,7 +44,3 @@ bool SystemMonitor::IsBatteryPower() {
}
return (status.ACLineStatus == 0);
}
-
-
-
-} // namespace base

Powered by Google App Engine
This is Rietveld 408576698