OLD | NEW |
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 "nodoc": "true", | 8 "nodoc": "true", |
9 "types": [ | 9 "types": [ |
10 { | 10 { |
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
687 { | 687 { |
688 "name": "callback", | 688 "name": "callback", |
689 "type": "function", | 689 "type": "function", |
690 "optional": true, | 690 "optional": true, |
691 "description": "Completion callback. $ref:runtime.lastError will be
set if there was an error.", | 691 "description": "Completion callback. $ref:runtime.lastError will be
set if there was an error.", |
692 "parameters": [] | 692 "parameters": [] |
693 } | 693 } |
694 ] | 694 ] |
695 }, | 695 }, |
696 { | 696 { |
697 "name": "getFileLocations", | |
698 "description": "Get file locations", | |
699 "parameters": [ | |
700 { | |
701 "name": "fileUrls", | |
702 "type": "array", | |
703 "description": "Array of file URLs to check.", | |
704 "items": { "type": "string" } | |
705 }, | |
706 { | |
707 "name": "callback", | |
708 "type": "function", | |
709 "parameters": [ | |
710 { | |
711 "name" : "locations", | |
712 "type": "array", | |
713 "items": {"type": "string"}, | |
714 "description": "An array of the file locations for the requested
files, one entry for each file in fileUrls." | |
715 } | |
716 ] | |
717 } | |
718 ] | |
719 }, | |
720 { | |
721 "name": "getDriveFiles", | 697 "name": "getDriveFiles", |
722 "description": "Get Drive files", | 698 "description": "Get Drive files", |
723 "parameters": [ | 699 "parameters": [ |
724 { | 700 { |
725 "name": "fileUrls", | 701 "name": "fileUrls", |
726 "type": "array", | 702 "type": "array", |
727 "description": "Array of Drive file URLs to get.", | 703 "description": "Array of Drive file URLs to get.", |
728 "items": { "type": "string" } | 704 "items": { "type": "string" } |
729 }, | 705 }, |
730 { | 706 { |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1241 }, | 1217 }, |
1242 { | 1218 { |
1243 "name": "onDriveConnectionStatusChanged", | 1219 "name": "onDriveConnectionStatusChanged", |
1244 "type": "function", | 1220 "type": "function", |
1245 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", | 1221 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", |
1246 "parameters": [] | 1222 "parameters": [] |
1247 } | 1223 } |
1248 ] | 1224 ] |
1249 } | 1225 } |
1250 ] | 1226 ] |
OLD | NEW |