Chromium Code Reviews| Index: chrome/browser/system_monitor/removable_storage_notifications.h |
| diff --git a/chrome/browser/system_monitor/removable_storage_notifications.h b/chrome/browser/system_monitor/removable_storage_notifications.h |
| index 43924db968eb31b9388164e5d363cb228e4c1f00..f44c573303dfde18d39d7b08f5727e5ef6aaf70f 100644 |
| --- a/chrome/browser/system_monitor/removable_storage_notifications.h |
| +++ b/chrome/browser/system_monitor/removable_storage_notifications.h |
| @@ -30,6 +30,17 @@ class RemovableStorageNotifications { |
| // Returns the storage size of the device present at |location|. If the |
| // device information is unavailable, returns zero. |
| virtual uint64 GetStorageSize(const std::string& location) const = 0; |
| + |
| +#if defined(OS_WIN) |
| + // Gets the MTP device storage information specified by |storage_device_id|. |
| + // On success, returns true and fills in |device_location| with device |
| + // interface details and |storage_object_id| with storage object temporary |
|
Lei Zhang
2013/01/14 20:49:02
Both here and in portable_device_watcher_win.h, yo
kmadhusu
2013/01/15 19:08:17
Done.
|
| + // identifier. |
| + virtual bool GetMTPStorageInfoFromDeviceId( |
| + const std::string& storage_device_id, |
| + string16* device_location, |
| + string16* storage_object_id) const = 0; |
| +#endif |
| }; |
| } // namespace chrome |