| 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 907b0e8c8b2c67a70f5f5ca994a207e4f5fd69e1..c431585d7b0e925f68fdcaa20db711e15f8cba91 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
|
| + // identifier.
|
| + virtual bool GetMTPStorageInfoFromDeviceId(
|
| + const std::string& storage_device_id,
|
| + string16* device_location,
|
| + string16* storage_object_id) const = 0;
|
| +#endif
|
| };
|
|
|
| } // namespace chrome
|
|
|