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); |