| 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 "description": "none", | 8 "description": "none", |
| 9 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 "name" : "mountPoints", | 796 "name" : "mountPoints", |
| 797 "type": "array", | 797 "type": "array", |
| 798 "items": {"$ref": "MountPointInfo"}, | 798 "items": {"$ref": "MountPointInfo"}, |
| 799 "description": "The list of MountPointInfo representing mounted
devices." | 799 "description": "The list of MountPointInfo representing mounted
devices." |
| 800 } | 800 } |
| 801 ] | 801 ] |
| 802 } | 802 } |
| 803 ] | 803 ] |
| 804 }, | 804 }, |
| 805 { | 805 { |
| 806 "name": "transferFile", | |
| 807 "description": "Transfers file from local to remote file system.", | |
| 808 "parameters": [ | |
| 809 { | |
| 810 "name": "sourceFileUrl", | |
| 811 "type": "string", | |
| 812 "description": "Source file from the local file system." | |
| 813 }, | |
| 814 { | |
| 815 "name": "destinationFileUrl", | |
| 816 "type": "string", | |
| 817 "description": "Destination file on the remote file system." | |
| 818 }, | |
| 819 { | |
| 820 "name": "callback", | |
| 821 "type": "function", | |
| 822 "optional": true, | |
| 823 "description": "Completion callback. $ref:runtime.lastError will be
set if there was an error.", | |
| 824 "parameters": [] | |
| 825 } | |
| 826 ] | |
| 827 }, | |
| 828 { | |
| 829 "name": "cancelFileTransfers", | 806 "name": "cancelFileTransfers", |
| 830 "description": "Cancels ongoing file transfers for selected files.", | 807 "description": "Cancels ongoing file transfers for selected files.", |
| 831 "parameters": [ | 808 "parameters": [ |
| 832 { | 809 { |
| 833 "name": "fileUrls", | 810 "name": "fileUrls", |
| 834 "type": "array", | 811 "type": "array", |
| 835 "description": "Array of files for which ongoing transfer should be
canceled.", | 812 "description": "Array of files for which ongoing transfer should be
canceled.", |
| 836 "items": {"type": "string"} | 813 "items": {"type": "string"} |
| 837 }, | 814 }, |
| 838 { | 815 { |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1234 }, | 1211 }, |
| 1235 { | 1212 { |
| 1236 "name": "onDriveConnectionStatusChanged", | 1213 "name": "onDriveConnectionStatusChanged", |
| 1237 "type": "function", | 1214 "type": "function", |
| 1238 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", | 1215 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", |
| 1239 "parameters": [] | 1216 "parameters": [] |
| 1240 } | 1217 } |
| 1241 ] | 1218 ] |
| 1242 } | 1219 } |
| 1243 ] | 1220 ] |
| OLD | NEW |