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

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

Issue 12211084: [Media Galleries] Populate volume metadata in ChromeOS/Linux (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add larger constructor, put linux data structures back Created 7 years, 9 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.h
diff --git a/chrome/browser/storage_monitor/storage_monitor_chromeos.h b/chrome/browser/storage_monitor/storage_monitor_chromeos.h
index 752bd956182cc594f7f90f420e61b1291cea376a..8596890e3ca26119add2190bd9a3afb050056002 100644
--- a/chrome/browser/storage_monitor/storage_monitor_chromeos.h
+++ b/chrome/browser/storage_monitor/storage_monitor_chromeos.h
@@ -54,18 +54,10 @@ class StorageMonitorCros
virtual uint64 GetStorageSize(const std::string& location) const OVERRIDE;
private:
- struct StorageObjectInfo {
- // Basic details {storage device name, location and identifier}.
- chrome::StorageInfo storage_info;
-
- // Device storage size.
- uint64 storage_size_in_bytes;
- };
-
friend class base::RefCountedThreadSafe<StorageMonitorCros>;
// Mapping of mount path to removable mass storage info.
- typedef std::map<std::string, StorageObjectInfo> MountMap;
+ typedef std::map<std::string, chrome::StorageInfo> MountMap;
// Private to avoid code deleting the object.
virtual ~StorageMonitorCros();

Powered by Google App Engine
This is Rietveld 408576698