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

Unified Diff: content/browser/browser_main_loop.cc

Issue 10829073: Add DeviceMonitorLinux in BrowserMainLoop. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: code review Created 8 years, 5 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_linux.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 148913)
+++ content/browser/browser_main_loop.cc (working copy)
@@ -66,6 +66,10 @@
#include <glib-object.h>
#endif
+#if defined(OS_LINUX)
+#include "content/browser/device_monitor_linux.h"
+#endif
+
#if defined(OS_CHROMEOS)
#include <dbus/dbus-glib.h>
#endif
@@ -615,6 +619,10 @@
ImageTransportFactory::Initialize();
#endif
+#if defined(OS_LINUX)
+ device_monitor_linux_.reset(new DeviceMonitorLinux());
+#endif
+
// RDH needs the IO thread to be created.
resource_dispatcher_host_.reset(new ResourceDispatcherHostImpl());
« no previous file with comments | « content/browser/browser_main_loop.h ('k') | content/browser/device_monitor_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698