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

Unified Diff: chrome/browser/system_monitor/removable_device_notifications_chromeos.h

Issue 11363236: Revert 167606 - [Media Gallery][ChromeOS] Improve device media gallery names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/system_monitor/removable_device_notifications_chromeos.h
===================================================================
--- chrome/browser/system_monitor/removable_device_notifications_chromeos.h (revision 167608)
+++ chrome/browser/system_monitor/removable_device_notifications_chromeos.h (working copy)
@@ -60,23 +60,12 @@
const FilePath& path,
base::SystemMonitor::RemovableStorageInfo* device_info) const;
- // Returns the storage size of the device present at |location|. If the
- // device information is unavailable, returns zero.
- uint64 GetStorageSize(const std::string& location) const;
-
private:
- struct StorageObjectInfo {
- // Basic details {storage device name, location and identifier}.
- base::SystemMonitor::RemovableStorageInfo storage_info;
-
- // Device storage size.
- uint64 storage_size_in_bytes;
- };
-
friend class base::RefCountedThreadSafe<RemovableDeviceNotificationsCros>;
// Mapping of mount path to removable mass storage info.
- typedef std::map<std::string, StorageObjectInfo> MountMap;
+ typedef std::map<std::string, base::SystemMonitor::RemovableStorageInfo>
+ MountMap;
// Private to avoid code deleting the object.
virtual ~RemovableDeviceNotificationsCros();

Powered by Google App Engine
This is Rietveld 408576698