| 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 85ad8983ca1099def8e89b38125df0ee404331c8..6d26275034f92716ff98430037c724a85b395602 100644
|
| --- a/chrome/common/extensions/api/experimental_system_info_storage.idl
|
| +++ b/chrome/common/extensions/api/experimental_system_info_storage.idl
|
| @@ -16,18 +16,22 @@ namespace experimental.systemInfo.storage {
|
| };
|
|
|
| dictionary StorageUnitInfo {
|
| - // The unique id of the storage unit.
|
| + // The unique storage id. It will use the transient ID.
|
| DOMString id;
|
| + // The name of the storage unit.
|
| + DOMString name;
|
| // The media type of the storage unit.
|
| StorageUnitType type;
|
| // The total amount of the storage space, in bytes.
|
| + // Default value is 0 if query operation fails.
|
| double capacity;
|
| // The available amount of the storage space, in bytes.
|
| + // Default value is 0 if query operation fails.
|
| double availableCapacity;
|
| };
|
|
|
| - dictionary StorageChangeInfo {
|
| - // The uniue id of the storage unit already changed.
|
| + dictionary StorageFreeSpaceChangeInfo {
|
| + // The transient id of the storage unit already changed.
|
| DOMString id;
|
| // The new value of the available capacity.
|
| double availableCapacity;
|
| @@ -67,7 +71,7 @@ namespace experimental.systemInfo.storage {
|
| interface Events {
|
| // Fired when the storage device available capacity is changed.
|
| // |info|: The changed information for the specified storage unit.
|
| - static void onAvailableCapacityChanged(StorageChangeInfo info);
|
| + static void onAvailableCapacityChanged(StorageFreeSpaceChangeInfo info);
|
|
|
| // Fired when a new removable storage is attached to the system.
|
| static void onAttached(StorageUnitInfo info);
|
|
|