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

Unified Diff: chrome/browser/chromeos/cros/mount_library.h

Issue 7826037: Adding support to retrieve remaining and total space on disk/file shelf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed AddRef/Release from file_browser_private_api.cc Created 9 years, 4 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/chromeos/cros/mount_library.h
diff --git a/chrome/browser/chromeos/cros/mount_library.h b/chrome/browser/chromeos/cros/mount_library.h
index 8108f442faa607b109fef504ebde6d8eae73d66d..93be8ceb7c48b457da7acef08a9a6f7a03ed6377 100644
--- a/chrome/browser/chromeos/cros/mount_library.h
+++ b/chrome/browser/chromeos/cros/mount_library.h
@@ -183,6 +183,10 @@ class MountLibrary {
// |path| is device's mount path.
virtual void UnmountPath(const char* path) = 0;
+ // Retrieves total and remaining available size on |mount_path|.
+ virtual void GetSizeStatsOnFileThread(const char* mount_path,
+ size_t* total_size_kb, size_t* remaining_size_kb) = 0;
+
// Formats device given its file path.
// Example: file_path: /dev/sdb1
virtual void FormatUnmountedDevice(const char* file_path) = 0;

Powered by Google App Engine
This is Rietveld 408576698