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

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

Issue 10664002: Add support for drive files to chrome.fileBrowserHandler.selectFile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 5 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
« no previous file with comments | « chrome/browser/chromeos/extensions/file_browser_handler_api.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/file_browser_handler.json
diff --git a/chrome/common/extensions/api/file_browser_handler.json b/chrome/common/extensions/api/file_browser_handler.json
index 65209fd17af0f598ea91d4924b9960c36a12b794..a50c2f58053a6f971aa1946b92128f3d46cc0baf 100644
--- a/chrome/common/extensions/api/file_browser_handler.json
+++ b/chrome/common/extensions/api/file_browser_handler.json
@@ -50,16 +50,16 @@
{
"name": "selectFile",
"type": "function",
- "description": "Prompts user to select file path under which a new file will be created. When the user selects file, the file gets created or, if it already existed, truncated. The function has to be called with a user gesture.",
+ "description": "Prompts user to select file path under which file should be saved. When the file is selected, file access permission required to use the file (read, write and create) are granted to the caller. The file will not actually get created during the functin call, so function caller must ensure its existance before using it. The function has to be invoked with a user gesture.",
"parameters": [
{
"name": "selectionParams",
"type": "object",
- "description": "Parameters that will be used to create a new file.",
+ "description": "Parameters that will be used while selecting the file.",
"properties": {
"suggestedName": {
"type": "string",
- "description": "Suggested name for the new file."
+ "description": "Suggested name for the file."
}
}
},
@@ -75,7 +75,7 @@
"properties": {
"success": {
"type": "boolean",
- "description": "Has the file been selected."
+ "description": "Whether the file has been selected."
},
"entry": {
"type": "object",
« no previous file with comments | « chrome/browser/chromeos/extensions/file_browser_handler_api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698