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

Unified Diff: chrome/browser/storage_monitor/storage_monitor_mac.mm

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_mac.mm
diff --git a/chrome/browser/storage_monitor/storage_monitor_mac.mm b/chrome/browser/storage_monitor/storage_monitor_mac.mm
index b1d2e896f99fa35d8758f0dad65cba9781e1bd06..c9591c22d0ae3dbdd36e59b11e1351f9f78cc62e 100644
--- a/chrome/browser/storage_monitor/storage_monitor_mac.mm
+++ b/chrome/browser/storage_monitor/storage_monitor_mac.mm
@@ -287,13 +287,6 @@ bool StorageMonitorMac::GetStorageInfoForPath(const base::FilePath& path,
return false;
}
-uint64 StorageMonitorMac::GetStorageSize(const std::string& location) const {
- StorageInfo info;
- if (!FindDiskWithMountPoint(base::FilePath(location), &info))
- return 0;
- return info.total_size_in_bytes;
-}
-
void StorageMonitorMac::EjectDevice(
const std::string& device_id,
base::Callback<void(EjectStatus)> callback) {
« no previous file with comments | « chrome/browser/storage_monitor/storage_monitor_mac.h ('k') | chrome/browser/storage_monitor/storage_monitor_mac_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698