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

Unified Diff: chrome/browser/storage_monitor/volume_mount_watcher_win.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
« no previous file with comments | « chrome/browser/storage_monitor/volume_mount_watcher_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/storage_monitor/volume_mount_watcher_win.cc
diff --git a/chrome/browser/storage_monitor/volume_mount_watcher_win.cc b/chrome/browser/storage_monitor/volume_mount_watcher_win.cc
index ce70631c12a1996487805f6e66c8541dab649937..329402d4451f69033af610309dffa29c53143551 100644
--- a/chrome/browser/storage_monitor/volume_mount_watcher_win.cc
+++ b/chrome/browser/storage_monitor/volume_mount_watcher_win.cc
@@ -322,15 +322,6 @@ bool VolumeMountWatcherWin::GetDeviceInfo(const base::FilePath& device_path,
return true;
}
-uint64 VolumeMountWatcherWin::GetStorageSize(
- const base::FilePath::StringType& mount_point) const {
- MountPointDeviceMetadataMap::const_iterator iter =
- device_metadata_.find(mount_point);
- if (iter != device_metadata_.end())
- return iter->second.total_size_in_bytes;
- return 0;
-}
-
void VolumeMountWatcherWin::OnWindowMessage(UINT event_type, LPARAM data) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
switch (event_type) {
« no previous file with comments | « chrome/browser/storage_monitor/volume_mount_watcher_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698