summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_browser_main_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chrome_browser_main_linux.cc')
-rw-r--r--chrome/browser/chrome_browser_main_linux.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/chrome_browser_main_linux.cc b/chrome/browser/chrome_browser_main_linux.cc
index 1354ffb..c28daa4 100644
--- a/chrome/browser/chrome_browser_main_linux.cc
+++ b/chrome/browser/chrome_browser_main_linux.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/chrome_browser_main_linux.h"
+#include "chrome/browser/media_gallery/media_device_notifications_linux.h"
+
#if defined(USE_LINUX_BREAKPAD)
#include <stdlib.h>
@@ -70,6 +72,9 @@ ChromeBrowserMainPartsLinux::ChromeBrowserMainPartsLinux(
: ChromeBrowserMainPartsPosix(parameters) {
}
+ChromeBrowserMainPartsLinux::~ChromeBrowserMainPartsLinux() {
+}
+
void ChromeBrowserMainPartsLinux::PreProfileInit() {
#if defined(USE_LINUX_BREAKPAD)
// Needs to be called after we have chrome::DIR_USER_DATA and
@@ -82,5 +87,10 @@ void ChromeBrowserMainPartsLinux::PreProfileInit() {
InitCrashReporter();
#endif
+ const FilePath kDefaultMtabPath("/etc/mtab");
+ media_device_notifications_linux_ =
+ new chrome::MediaDeviceNotificationsLinux(kDefaultMtabPath);
+ media_device_notifications_linux_->Init();
+
ChromeBrowserMainPartsPosix::PreProfileInit();
}