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 3e1afe7270f42e8f71980f994db13dff1e5c4df9..4f32c92e396090aca57630ab0c75e98d0d097753 100644 |
--- a/chrome/browser/chrome_browser_main_linux.cc |
+++ b/chrome/browser/chrome_browser_main_linux.cc |
@@ -5,7 +5,6 @@ |
#include "chrome/browser/chrome_browser_main_linux.h" |
#if !defined(OS_CHROMEOS) |
-#include "chrome/browser/storage_monitor/storage_monitor_linux.h" |
#include "content/public/browser/browser_thread.h" |
#endif |
@@ -127,11 +126,6 @@ void ChromeBrowserMainPartsLinux::PreProfileInit() { |
InitCrashReporter(); |
#endif |
-#if !defined(OS_CHROMEOS) |
- const base::FilePath kDefaultMtabPath("/etc/mtab"); |
- storage_monitor_.reset(new chrome::StorageMonitorLinux(kDefaultMtabPath)); |
-#endif |
- |
ChromeBrowserMainPartsPosix::PreProfileInit(); |
} |
@@ -145,14 +139,3 @@ void ChromeBrowserMainPartsLinux::PostProfileInit() { |
g_browser_process->metrics_service()->RecordBreakpadRegistration(false); |
#endif |
} |
- |
-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 |
-} |