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

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: . 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..a42173eba3db3fdfb8e7e1ebba0c76b2e83f256b 100644
--- a/chrome/common/extensions/api/file_browser_private.json
+++ b/chrome/common/extensions/api/file_browser_private.json
@@ -1193,6 +1193,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": [

Powered by Google App Engine
This is Rietveld 408576698