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

Unified Diff: chrome/browser/chrome_browser_main_linux.cc

Issue 10882039: Make the Linux System Monitor implementation track all devices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CrOS build Created 8 years, 4 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
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.h ('k') | chrome/browser/media_gallery/media_storage_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ad21460613eb8cfa59f68722195ebec2d39f607c..be3b0483d666e8248509e9a617835f6a95f76507 100644
--- a/chrome/browser/chrome_browser_main_linux.cc
+++ b/chrome/browser/chrome_browser_main_linux.cc
@@ -5,7 +5,7 @@
#include "chrome/browser/chrome_browser_main_linux.h"
#if !defined(OS_CHROMEOS)
-#include "chrome/browser/media_gallery/media_device_notifications_linux.h"
+#include "chrome/browser/media_gallery/removable_device_notifications_linux.h"
#endif
#if defined(USE_LINUX_BREAKPAD)
@@ -104,9 +104,9 @@ void ChromeBrowserMainPartsLinux::PreProfileInit() {
#if !defined(OS_CHROMEOS)
const FilePath kDefaultMtabPath("/etc/mtab");
- media_device_notifications_linux_ =
- new chrome::MediaDeviceNotificationsLinux(kDefaultMtabPath);
- media_device_notifications_linux_->Init();
+ removable_device_notifications_linux_ =
+ new chrome::RemovableDeviceNotificationsLinux(kDefaultMtabPath);
+ removable_device_notifications_linux_->Init();
#endif
ChromeBrowserMainPartsPosix::PreProfileInit();
@@ -117,7 +117,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.
- media_device_notifications_linux_ = NULL;
+ removable_device_notifications_linux_ = NULL;
#endif
ChromeBrowserMainPartsPosix::PostMainMessageLoopRun();
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.h ('k') | chrome/browser/media_gallery/media_storage_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698