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

Unified Diff: content/browser/browser_main_loop.cc

Issue 10824162: add device notification to Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 50ce699b4071e4071084393e21afc5b6564bac48..15166163a33ea4962e7c593305734f2c6ca98890 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -68,6 +68,8 @@
#if defined(OS_LINUX)
#include "content/browser/device_monitor_linux.h"
+#elif defined(OS_MACOSX)
+#include "content/browser/device_monitor_mac.h"
#endif
#if defined(OS_CHROMEOS)
@@ -619,6 +621,8 @@ void BrowserMainLoop::BrowserThreadsStarted() {
#if defined(OS_LINUX)
device_monitor_linux_.reset(new DeviceMonitorLinux());
+#elif defined(OS_MACOSX)
+ device_monitor_mac_.reset(new DeviceMonitorMac());
#endif
// RDH needs the IO thread to be created.

Powered by Google App Engine
This is Rietveld 408576698