| Index: chrome/browser/chrome_browser_main_linux.cc
|
| ===================================================================
|
| --- chrome/browser/chrome_browser_main_linux.cc (revision 132051)
|
| +++ chrome/browser/chrome_browser_main_linux.cc (working copy)
|
| @@ -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 @@
|
| : 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 @@
|
| InitCrashReporter();
|
| #endif
|
|
|
| + const FilePath kDefaultMtabPath("/etc/mtab");
|
| + media_device_notifications_linux_ =
|
| + new chrome::MediaDeviceNotificationsLinux(kDefaultMtabPath);
|
| + media_device_notifications_linux_->Init();
|
| +
|
| ChromeBrowserMainPartsPosix::PreProfileInit();
|
| }
|
|
|