Chromium Code Reviews| Index: chrome/common/extensions/api/experimental_system_info_storage.idl |
| diff --git a/chrome/common/extensions/api/experimental_system_info_storage.idl b/chrome/common/extensions/api/experimental_system_info_storage.idl |
| index 2c8cc940d097c2e83dcecbb5ba23756dd69d1e25..8ad645a3b253993bded698eb751bc12f9b3eaa1b 100644 |
| --- a/chrome/common/extensions/api/experimental_system_info_storage.idl |
| +++ b/chrome/common/extensions/api/experimental_system_info_storage.idl |
| @@ -14,9 +14,20 @@ namespace experimental.systemInfo.storage { |
| }; |
| dictionary StorageUnitInfo { |
| - // The unique id of the storage unit. |
| + // The unique storage id. It is persistent between storage attachments. |
|
Lei Zhang
2013/05/28 08:08:07
Have you talked to anyone on the extensions team a
Hongbo Min
2013/05/28 14:24:01
Not yet. Do you know who is the owner of extension
Lei Zhang
2013/05/28 21:16:44
I'd talk to mpcomplete@ or yoz@.
|
| DOMString id; |
| - // The media type of the storage unit. |
| + // Human readable storage unit name. |
| + DOMString name; |
| + // The mount path of the storage unit. |
| + DOMString location; |
| + // Human readable vendor name for the storage unit. May be empty if not |
| + // collected. |
| + DOMString vendorName; |
| + // Human readable model name for the storage unit. May be empty if not |
| + // collected. |
| + DOMString modelName; |
| + // The type of storage device. The value is one of the constants defined |
| + // for this type. |
| StorageUnitType type; |
| // The total amount of the storage space, in bytes. |
| double capacity; |
| @@ -27,8 +38,10 @@ namespace experimental.systemInfo.storage { |
| dictionary StorageChangeInfo { |
| // The uniue id of the storage unit already changed. |
| DOMString id; |
| + // The old value of the available capacity. |
| + double oldValue; |
| // The new value of the available capacity. |
| - double availableCapacity; |
| + double newValue; |
| }; |
| callback StorageInfoCallback = void (StorageUnitInfo[] info); |