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

Unified Diff: chrome/browser/chrome_browser_main_linux.cc

Issue 16703025: [StorageMonitor] Move StorageMonitor ownership to BrowserProcessImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Catch up to SystemInfoStorage eject test Created 7 years, 5 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/chrome_browser_main_mac.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 dd83909c6e39137fd0e0c43b5a3a4636db11df7c..299154dee3104ea9041387873d9e6f8f734eee2c 100644
--- a/chrome/browser/chrome_browser_main_linux.cc
+++ b/chrome/browser/chrome_browser_main_linux.cc
@@ -118,11 +118,6 @@ void ChromeBrowserMainPartsLinux::PreProfileInit() {
if (IsCrashReportingEnabled(local_state()))
InitCrashReporter();
-#if !defined(OS_CHROMEOS)
- const base::FilePath kDefaultMtabPath("/etc/mtab");
- storage_monitor_.reset(new chrome::StorageMonitorLinux(kDefaultMtabPath));
-#endif
-
ChromeBrowserMainPartsPosix::PreProfileInit();
}
@@ -132,14 +127,3 @@ void ChromeBrowserMainPartsLinux::PostProfileInit() {
g_browser_process->metrics_service()->RecordBreakpadRegistration(
IsCrashReporterEnabled());
}
-
-void ChromeBrowserMainPartsLinux::PostMainMessageLoopRun() {
- ChromeBrowserMainPartsPosix::PostMainMessageLoopRun();
-
-#if !defined(OS_CHROMEOS)
- // Delete 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 every
- // single browser_test.
- storage_monitor_.reset();
-#endif
-}
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.h ('k') | chrome/browser/chrome_browser_main_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698