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

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: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/file_manager/js/suggest_apps_dialog.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
1182 { 1182 {
1183 "name": "accessToken", 1183 "name": "accessToken",
1184 "type": "string", 1184 "type": "string",
1185 "description": "OAuth2 access token, or an empty string if faile d to fetch." 1185 "description": "OAuth2 access token, or an empty string if faile d to fetch."
1186 } 1186 }
1187 ] 1187 ]
1188 } 1188 }
1189 ] 1189 ]
1190 }, 1190 },
1191 { 1191 {
1192 "name": "requestWebStoreAccessToken",
1193 "description": "Requests a Webstore API OAuth2 access token.",
1194 "parameters": [
1195 {
1196 "name": "callback",
1197 "type": "function",
1198 "parameters": [
1199 {
1200 "name": "accessToken",
1201 "type": "string",
1202 "description": "OAuth2 access token, or an empty string if faile d to fetch."
1203 }
1204 ]
1205 }
1206 ]
1207 },
1208 {
1192 "name": "getShareUrl", 1209 "name": "getShareUrl",
1193 "description": "Requests a share dialog url for the specified file.", 1210 "description": "Requests a share dialog url for the specified file.",
1194 "parameters": [ 1211 "parameters": [
1195 { 1212 {
1196 "name": "url", 1213 "name": "url",
1197 "type": "string", 1214 "type": "string",
1198 "description": "Url for the file." 1215 "description": "Url for the file."
1199 }, 1216 },
1200 { 1217 {
1201 "name": "callback", 1218 "name": "callback",
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 }, 1335 },
1319 { 1336 {
1320 "name": "onDriveConnectionStatusChanged", 1337 "name": "onDriveConnectionStatusChanged",
1321 "type": "function", 1338 "type": "function",
1322 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getDriveConnectionState'.", 1339 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getDriveConnectionState'.",
1323 "parameters": [] 1340 "parameters": []
1324 } 1341 }
1325 ] 1342 ]
1326 } 1343 }
1327 ] 1344 ]
OLDNEW
« 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