Index: chrome/common/extensions/api/extension_api.json |
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json |
index a45b81cdacc4f9416fed556deec0f049ca0f01fd..66b05c38690e666be169bd230a2e2df2855816ba 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -6755,6 +6755,21 @@ |
} |
}, |
{ |
+ "id": "MountPointSizeStats", |
+ "type": "object", |
+ "description": "Information about total and remaining size on the mount point.", |
+ "properties": { |
+ "totalSizeKB": { |
+ "type": "integer", |
+ "description": "Total available size on the mount point." |
+ }, |
+ "remainingSizeKB": { |
+ "type": "integer", |
+ "description": "Remaining available size on the mount point." |
+ } |
+ } |
+ }, |
+ { |
"id": "VolumeMetadata", |
"type": "object", |
"description": "Mounted disk volume metadata.", |
@@ -7146,6 +7161,29 @@ |
] |
}, |
{ |
+ "name": "getSizeStats", |
+ "description": "Retrieves total and remaining size of a mount point.", |
+ "parameters": [ |
+ { |
+ "name": "mountPath", |
+ "type": "string", |
+ "description": "Mount point path." |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "optional": false, |
+ "parameters": [ |
+ { |
+ "name" : "sizeStats", |
+ "$ref": "MountPointSizeStats", |
+ "description": "Name/value pairs of size stats." |
+ } |
+ ] |
+ } |
+ ] |
+ }, |
+ { |
"name": "formatDevice", |
"description": "Formats a mounted device", |
"parameters": [ |