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

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

Issue 23549016: [Files.app] Fetch and use CWS OAuth token instead of Drive token in Suggest app dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test failure. 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
« no previous file with comments | « chrome/browser/resources/file_manager/js/suggest_apps_dialog.js ('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_private.json
diff --git a/chrome/common/extensions/api/file_browser_private.json b/chrome/common/extensions/api/file_browser_private.json
index ae9be830c27a5298eca148f9dc5d2bd931eee834..37f050ceec37404093b56677bb3f38c4de5474ba 100644
--- a/chrome/common/extensions/api/file_browser_private.json
+++ b/chrome/common/extensions/api/file_browser_private.json
@@ -1189,6 +1189,23 @@
]
},
{
+ "name": "requestWebStoreAccessToken",
+ "description": "Requests a Webstore API OAuth2 access token.",
+ "parameters": [
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": [
+ {
+ "name": "accessToken",
+ "type": "string",
+ "description": "OAuth2 access token, or an empty string if failed to fetch."
+ }
+ ]
+ }
+ ]
+ },
+ {
"name": "getShareUrl",
"description": "Requests a share dialog url for the specified file.",
"parameters": [
« no previous file with comments | « chrome/browser/resources/file_manager/js/suggest_apps_dialog.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698