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

Unified Diff: chrome/browser/storage_monitor/test_storage_monitor.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/test_storage_monitor.cc
diff --git a/chrome/browser/storage_monitor/test_storage_monitor.cc b/chrome/browser/storage_monitor/test_storage_monitor.cc
index 099feb837c717e1e41a14dbe5e6ee0f1d12e35d2..9a9b0e589f81e08ed4823a82fa299ae4c0b0d600 100644
--- a/chrome/browser/storage_monitor/test_storage_monitor.cc
+++ b/chrome/browser/storage_monitor/test_storage_monitor.cc
@@ -31,15 +31,11 @@ bool TestStorageMonitor::GetStorageInfoForPath(
MediaStorageUtil::FIXED_MASS_STORAGE, path.AsUTF8Unsafe());
device_info->name = path.BaseName().LossyDisplayName();
device_info->location = path.value();
+ device_info->total_size_in_bytes = 0;
}
return true;
}
-uint64 TestStorageMonitor::GetStorageSize(
- const base::FilePath::StringType& location) const {
- return 0;
-}
-
#if defined(OS_WIN)
bool TestStorageMonitor::GetMTPStorageInfoFromDeviceId(
const std::string& storage_device_id,
« no previous file with comments | « chrome/browser/storage_monitor/test_storage_monitor.h ('k') | chrome/browser/storage_monitor/volume_mount_watcher_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698