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

Unified Diff: chrome/common/extensions/api/file_browser_private.json

Issue 23658009: Replace mountType by volumeType on fileBrowserPrivate APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/file_browser_private.json
diff --git a/chrome/common/extensions/api/file_browser_private.json b/chrome/common/extensions/api/file_browser_private.json
index 2205e7b5ef8ab7cb790b5bed35df66d944846893..6c2cece0538b1ac58b87cc1ee6d7e9ffb66a61db 100644
--- a/chrome/common/extensions/api/file_browser_private.json
+++ b/chrome/common/extensions/api/file_browser_private.json
@@ -142,11 +142,11 @@
"optional": true,
"description": "The path to the mounted device, archive file or network resource."
},
- "mountType": {
+ "volumeType": {
"type": "string",
"optional": true,
- "enum": ["device", "file", "network"],
- "description": "Type of the mount."
+ "enum": ["drive", "downloads", "removable", "archive"],
+ "description": "Type of the mounted volume."
},
"mountCondition": {
"type": "string",
@@ -286,10 +286,10 @@
"optional": true,
"description": "Path that sourcePath was mounted to."
},
- "mountType": {
+ "volumeType": {
"type": "string",
- "enum": ["device", "file", "network", "drive"],
- "description": "Type of the mount."
+ "enum": ["drive", "downloads", "removable", "archive"],
+ "description": "Type of the mounted volume."
}
}
},
@@ -745,11 +745,13 @@
"type": "string",
"description": "Mount point source. For compressed files it is relative file path within external file system"
},
+ // TODO(hidehiko): After the refactoring, we won't need to request
+ // mounting the Drive. Then remove this param.
{
- "name": "mountType",
+ "name": "volumeType",
"type": "string",
- "enum": ["device", "file", "network", "drive"],
- "description": "Mount point type. 'file' for compressed files"
+ "enum": ["drive", "archive"],
+ "description": "Type of the mounted volume"
},
{
"name": "options",

Powered by Google App Engine
This is Rietveld 408576698