| 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 "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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 "mountPath": { | 135 "mountPath": { |
| 136 "type": "string", | 136 "type": "string", |
| 137 "optional": true, | 137 "optional": true, |
| 138 "description": "Disk volume mount point path. The value corresponds
to its Entry.fullPath in File API." | 138 "description": "Disk volume mount point path. The value corresponds
to its Entry.fullPath in File API." |
| 139 }, | 139 }, |
| 140 "sourcePath": { | 140 "sourcePath": { |
| 141 "type": "string", | 141 "type": "string", |
| 142 "optional": true, | 142 "optional": true, |
| 143 "description": "The path to the mounted device, archive file or netw
ork resource." | 143 "description": "The path to the mounted device, archive file or netw
ork resource." |
| 144 }, | 144 }, |
| 145 "mountType": { | 145 "volumeType": { |
| 146 "type": "string", | 146 "type": "string", |
| 147 "optional": true, | 147 "optional": true, |
| 148 "enum": ["device", "file", "network"], | 148 "enum": ["drive", "downloads", "removable", "archive"], |
| 149 "description": "Type of the mount." | 149 "description": "Type of the mounted volume." |
| 150 }, | 150 }, |
| 151 "mountCondition": { | 151 "mountCondition": { |
| 152 "type": "string", | 152 "type": "string", |
| 153 "description": "Additional data about mount, for example, that the f
ilesystem is not supported." | 153 "description": "Additional data about mount, for example, that the f
ilesystem is not supported." |
| 154 } | 154 } |
| 155 } | 155 } |
| 156 }, | 156 }, |
| 157 { | 157 { |
| 158 "id": "MountPointSizeStats", | 158 "id": "MountPointSizeStats", |
| 159 "type": "object", | 159 "type": "object", |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 }, | 279 }, |
| 280 "sourcePath": { | 280 "sourcePath": { |
| 281 "type": "string", | 281 "type": "string", |
| 282 "description": "Path that has been mounted." | 282 "description": "Path that has been mounted." |
| 283 }, | 283 }, |
| 284 "mountPath": { | 284 "mountPath": { |
| 285 "type": "string", | 285 "type": "string", |
| 286 "optional": true, | 286 "optional": true, |
| 287 "description": "Path that sourcePath was mounted to." | 287 "description": "Path that sourcePath was mounted to." |
| 288 }, | 288 }, |
| 289 "mountType": { | 289 "volumeType": { |
| 290 "type": "string", | 290 "type": "string", |
| 291 "enum": ["device", "file", "network", "drive"], | 291 "enum": ["drive", "downloads", "removable", "archive"], |
| 292 "description": "Type of the mount." | 292 "description": "Type of the mounted volume." |
| 293 } | 293 } |
| 294 } | 294 } |
| 295 }, | 295 }, |
| 296 { | 296 { |
| 297 "id": "FileTransferStatus", | 297 "id": "FileTransferStatus", |
| 298 "type": "object", | 298 "type": "object", |
| 299 "description": "Payload data for file transfer status updates.", | 299 "description": "Payload data for file transfer status updates.", |
| 300 "properties": { | 300 "properties": { |
| 301 "fileUrl": { | 301 "fileUrl": { |
| 302 "type": "string", | 302 "type": "string", |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 738 }, | 738 }, |
| 739 { | 739 { |
| 740 "name": "addMount", | 740 "name": "addMount", |
| 741 "description": "Mount a resource or a file.", | 741 "description": "Mount a resource or a file.", |
| 742 "parameters": [ | 742 "parameters": [ |
| 743 { | 743 { |
| 744 "name": "source", | 744 "name": "source", |
| 745 "type": "string", | 745 "type": "string", |
| 746 "description": "Mount point source. For compressed files it is relat
ive file path within external file system" | 746 "description": "Mount point source. For compressed files it is relat
ive file path within external file system" |
| 747 }, | 747 }, |
| 748 // TODO(hidehiko): After the refactoring, we won't need to request |
| 749 // mounting the Drive. Then remove this param. |
| 748 { | 750 { |
| 749 "name": "mountType", | 751 "name": "volumeType", |
| 750 "type": "string", | 752 "type": "string", |
| 751 "enum": ["device", "file", "network", "drive"], | 753 "enum": ["drive", "archive"], |
| 752 "description": "Mount point type. 'file' for compressed files" | 754 "description": "Type of the mounted volume" |
| 753 }, | 755 }, |
| 754 { | 756 { |
| 755 "name": "options", | 757 "name": "options", |
| 756 "type": "object", | 758 "type": "object", |
| 757 "additionalProperties": { "type": "any" }, | 759 "additionalProperties": { "type": "any" }, |
| 758 "description": "Name/value pairs for source specific options" | 760 "description": "Name/value pairs for source specific options" |
| 759 }, | 761 }, |
| 760 { | 762 { |
| 761 "name": "callback", | 763 "name": "callback", |
| 762 "type": "function", | 764 "type": "function", |
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1322 }, | 1324 }, |
| 1323 { | 1325 { |
| 1324 "name": "onDriveConnectionStatusChanged", | 1326 "name": "onDriveConnectionStatusChanged", |
| 1325 "type": "function", | 1327 "type": "function", |
| 1326 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", | 1328 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", |
| 1327 "parameters": [] | 1329 "parameters": [] |
| 1328 } | 1330 } |
| 1329 ] | 1331 ] |
| 1330 } | 1332 } |
| 1331 ] | 1333 ] |
| OLD | NEW |