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

Unified Diff: chrome/browser/storage_monitor/storage_monitor_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
Index: chrome/browser/storage_monitor/storage_monitor_linux.cc
diff --git a/chrome/browser/storage_monitor/storage_monitor_linux.cc b/chrome/browser/storage_monitor/storage_monitor_linux.cc
index 6435529a06282dd52511d1a1d529c8435e8bf951..f2154edfeea572be79b328c80ddd8c411a0ebd0f 100644
--- a/chrome/browser/storage_monitor/storage_monitor_linux.cc
+++ b/chrome/browser/storage_monitor/storage_monitor_linux.cc
@@ -513,4 +513,9 @@ void StorageMonitorLinux::AddNewMount(const base::FilePath& mount_device,
receiver()->ProcessAttach(*storage_info);
}
+StorageMonitor* StorageMonitor::Create() {
+ const base::FilePath kDefaultMtabPath("/etc/mtab");
+ return new StorageMonitorLinux(kDefaultMtabPath);
+}
+
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698