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

Unified Diff: content/browser/browser_main_loop.cc

Issue 10069007: Media Gallery: Move MediaDeviceNotificationsLinux from content to chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
===================================================================
--- content/browser/browser_main_loop.cc (revision 131949)
+++ content/browser/browser_main_loop.cc (working copy)
@@ -54,10 +54,6 @@
#include "net/base/winsock_init.h"
#endif
-#if defined(OS_LINUX)
-#include "content/browser/media_device_notifications_linux.h"
-#endif
-
#if defined(OS_LINUX) || defined(OS_OPENBSD)
#include <glib-object.h>
#endif
@@ -594,14 +590,6 @@
void BrowserMainLoop::BrowserThreadsStarted() {
// RDH needs the IO thread to be created.
resource_dispatcher_host_.reset(new ResourceDispatcherHostImpl());
-
-#if defined(OS_LINUX)
- // MediaDeviceNotificationsLinux needs the File Thread.
- const FilePath kDefaultMtabPath("/etc/mtab");
- media_device_notifications_linux_ =
- new MediaDeviceNotificationsLinux(kDefaultMtabPath);
- media_device_notifications_linux_->Init();
-#endif
}
void BrowserMainLoop::InitializeToolkit() {

Powered by Google App Engine
This is Rietveld 408576698