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

Unified Diff: chrome/common/extensions/api/experimental_system_info_storage.idl

Issue 15896007: [SystemInfo API] Rewrite storage info provider using storage monitor impl (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 7 months 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/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);

Powered by Google App Engine
This is Rietveld 408576698