Chromium Code Reviews| 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 d7d1c2cbf96a89da05760be962510a10970bb65f..dfc77247c0b30fdb782a39a10c8576f7bc4dab6d 100644 |
| --- a/chrome/browser/chrome_browser_main_linux.cc |
| +++ b/chrome/browser/chrome_browser_main_linux.cc |
| @@ -10,7 +10,7 @@ |
| #include "device/media_transfer_protocol/media_transfer_protocol_manager.h" |
| #if !defined(OS_CHROMEOS) |
| -#include "chrome/browser/storage_monitor/removable_device_notifications_linux.h" |
| +#include "chrome/browser/storage_monitor/storage_monitor_linux.h" |
| #include "content/public/browser/browser_thread.h" |
| #endif |
| @@ -133,9 +133,9 @@ void ChromeBrowserMainPartsLinux::PreProfileInit() { |
| #if !defined(OS_CHROMEOS) |
| const base::FilePath kDefaultMtabPath("/etc/mtab"); |
| - removable_device_notifications_linux_ = |
| - new chrome::RemovableDeviceNotificationsLinux(kDefaultMtabPath); |
| - removable_device_notifications_linux_->Init(); |
| + storage_monitor_linux_ = |
| + new chrome::StorageMonitorLinux(kDefaultMtabPath); |
|
vandebo (ex-Chrome)
2013/03/01 19:47:39
nit: line wrap.
|
| + storage_monitor_linux_->Init(); |
| #endif |
| if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kTestType)) { |
| @@ -152,7 +152,7 @@ void ChromeBrowserMainPartsLinux::PreProfileInit() { |
| } |
| void ChromeBrowserMainPartsLinux::PostProfileInit() { |
| - // TODO(gbillock): Make this owned by RemovableDeviceNotificationsLinux. |
| + // TODO(gbillock): Make this owned by StorageMonitorLinux. |
| if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kTestType)) { |
| media_transfer_protocol_device_observer_.reset( |
| new chrome::MediaTransferProtocolDeviceObserverLinux()); |
| @@ -168,7 +168,7 @@ void ChromeBrowserMainPartsLinux::PostMainMessageLoopRun() { |
| // Release it now. Otherwise the FILE thread would be gone when we try to |
| // release it in the dtor and Valgrind would report a leak on almost ever |
| // single browser_test. |
| - removable_device_notifications_linux_ = NULL; |
| + storage_monitor_linux_ = NULL; |
| #endif |
| media_transfer_protocol_device_observer_.reset(); |