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

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: Revert using Singleton pattern for PowerMonitor 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 556e1f18bd08cee4ce6188acbdfaa5872ca42f7a..3f8a66cb39286df782d5664c61890a95b838a6f7 100644
--- a/chrome/browser/system_monitor/removable_device_notifications_mac_unittest.mm
+++ b/chrome/browser/system_monitor/removable_device_notifications_mac_unittest.mm
@@ -53,7 +53,6 @@ class RemovableDeviceNotificationsMacTest : public testing::Test {
}
virtual void SetUp() OVERRIDE {
- base::SystemMonitor::AllocateSystemIOPorts();
system_monitor_.reset(new base::SystemMonitor());
mock_devices_changed_observer_.reset(new base::MockDevicesChangedObserver);

Powered by Google App Engine
This is Rietveld 408576698