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

Unified Diff: chrome/browser/system_monitor/removable_device_notifications_mac_unittest.mm

Issue 10959020: SystemMonitor refactoring: move power state monitor into a separate class called PowerMonitor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 months 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: chrome/browser/system_monitor/removable_device_notifications_mac_unittest.mm
diff --git a/chrome/browser/system_monitor/removable_device_notifications_mac_unittest.mm b/chrome/browser/system_monitor/removable_device_notifications_mac_unittest.mm
index 65d81f987b733dc060f4131134858af23756f177..e2fa33b632db419245ecf9ea8701f7193b0e73ec 100644
--- a/chrome/browser/system_monitor/removable_device_notifications_mac_unittest.mm
+++ b/chrome/browser/system_monitor/removable_device_notifications_mac_unittest.mm
@@ -7,6 +7,7 @@
#include "base/file_util.h"
#include "base/mac/foundation_util.h"
#include "base/message_loop.h"
+#include "base/power_monitor/power_monitor.h"
#include "base/scoped_temp_dir.h"
#include "base/sys_string_conversions.h"
#include "base/system_monitor/system_monitor.h"
@@ -48,7 +49,7 @@ class RemovableDeviceNotificationsMacTest : public testing::Test {
}
virtual void SetUp() OVERRIDE {
- base::SystemMonitor::AllocateSystemIOPorts();
+ base::PowerMonitor::AllocateSystemIOPorts();
vandebo (ex-Chrome) 2012/10/12 22:12:30 Just remove this line. This test doesn't use Powe
Hongbo Min 2012/10/13 06:36:07 Done.
system_monitor_.reset(new base::SystemMonitor());
mock_devices_changed_observer_.reset(new base::MockDevicesChangedObserver);

Powered by Google App Engine
This is Rietveld 408576698