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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace":"fileBrowserPrivate", 7 "namespace":"fileBrowserPrivate",
8 "compiler_options": { 8 "compiler_options": {
9 "implemented_in": "chrome/browser/chromeos/extensions/file_manager/file_br owser_private_api_functions.h" 9 "implemented_in": "chrome/browser/chromeos/extensions/file_manager/file_br owser_private_api_functions.h"
10 }, 10 },
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 { 1186 {
1187 "name": "accessToken", 1187 "name": "accessToken",
1188 "type": "string", 1188 "type": "string",
1189 "description": "OAuth2 access token, or an empty string if faile d to fetch." 1189 "description": "OAuth2 access token, or an empty string if faile d to fetch."
1190 } 1190 }
1191 ] 1191 ]
1192 } 1192 }
1193 ] 1193 ]
1194 }, 1194 },
1195 { 1195 {
1196 "name": "requestWebStoreAccessToken",
1197 "description": "Requests a Webstore API OAuth2 access token.",
1198 "parameters": [
1199 {
1200 "name": "callback",
1201 "type": "function",
1202 "parameters": [
1203 {
1204 "name": "accessToken",
1205 "type": "string",
1206 "description": "OAuth2 access token, or an empty string if faile d to fetch."
1207 }
1208 ]
1209 }
1210 ]
1211 },
1212 {
1196 "name": "getShareUrl", 1213 "name": "getShareUrl",
1197 "description": "Requests a share dialog url for the specified file.", 1214 "description": "Requests a share dialog url for the specified file.",
1198 "parameters": [ 1215 "parameters": [
1199 { 1216 {
1200 "name": "url", 1217 "name": "url",
1201 "type": "string", 1218 "type": "string",
1202 "description": "Url for the file." 1219 "description": "Url for the file."
1203 }, 1220 },
1204 { 1221 {
1205 "name": "callback", 1222 "name": "callback",
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 }, 1339 },
1323 { 1340 {
1324 "name": "onDriveConnectionStatusChanged", 1341 "name": "onDriveConnectionStatusChanged",
1325 "type": "function", 1342 "type": "function",
1326 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getDriveConnectionState'.", 1343 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getDriveConnectionState'.",
1327 "parameters": [] 1344 "parameters": []
1328 } 1345 }
1329 ] 1346 ]
1330 } 1347 }
1331 ] 1348 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698