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

Unified Diff: chrome/browser/storage_monitor/storage_monitor_chromeos.cc

Issue 13524003: [StorageMonitor] Remove GetStorageSize. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Compiling... Created 7 years, 8 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_chromeos.cc
diff --git a/chrome/browser/storage_monitor/storage_monitor_chromeos.cc b/chrome/browser/storage_monitor/storage_monitor_chromeos.cc
index f34ef06c5fb9aef32b007080c67363b7c4346bec..9339aa6d73511c5559e9d5769b1efabe2bbac360 100644
--- a/chrome/browser/storage_monitor/storage_monitor_chromeos.cc
+++ b/chrome/browser/storage_monitor/storage_monitor_chromeos.cc
@@ -232,13 +232,6 @@ bool StorageMonitorCros::GetStorageInfoForPath(
return true;
}
-uint64 StorageMonitorCros::GetStorageSize(
- const std::string& device_location) const {
- MountMap::const_iterator info_it = mount_map_.find(device_location);
- return (info_it != mount_map_.end()) ?
- info_it->second.total_size_in_bytes : 0;
-}
-
// Callback executed when the unmount call is run by DiskMountManager.
// Forwards result to |EjectDevice| caller.
void NotifyUnmountResult(

Powered by Google App Engine
This is Rietveld 408576698