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

Unified Diff: content/browser/browser_main_loop.cc

Issue 10827163: add device monitoring on Mac. (Closed) Base URL: svn://chrome-svn/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
« no previous file with comments | « content/browser/browser_main_loop.h ('k') | content/browser/device_monitor_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.cc
===================================================================
--- content/browser/browser_main_loop.cc (revision 149863)
+++ content/browser/browser_main_loop.cc (working copy)
@@ -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 @@
#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.
« no previous file with comments | « content/browser/browser_main_loop.h ('k') | content/browser/device_monitor_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698