| Index: chrome/browser/chrome_browser_main_linux.cc
|
| diff --git a/chrome/browser/chrome_browser_main_linux.cc b/chrome/browser/chrome_browser_main_linux.cc
|
| index b6a25dac2ffe433f388878dbab26f50e5275065d..2b89780d3b466a4291aeef35d41f494ce533f4a8 100644
|
| --- a/chrome/browser/chrome_browser_main_linux.cc
|
| +++ b/chrome/browser/chrome_browser_main_linux.cc
|
| @@ -152,9 +152,12 @@ void ChromeBrowserMainPartsLinux::PreProfileInit() {
|
| }
|
|
|
| void ChromeBrowserMainPartsLinux::PostProfileInit() {
|
| + // TODO(gbillock): Make this owned by RemovableDeviceNotificationsLinux.
|
| if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kTestType)) {
|
| media_transfer_protocol_device_observer_.reset(
|
| new chrome::MediaTransferProtocolDeviceObserverLinux());
|
| + media_transfer_protocol_device_observer_->SetNotifications(
|
| + chrome::RemovableStorageNotifications::GetInstance()->receiver());
|
| }
|
|
|
| ChromeBrowserMainPartsPosix::PostProfileInit();
|
|
|