| 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 "properties": { | 259 "properties": { |
| 260 "eventType": { | 260 "eventType": { |
| 261 "type": "string", | 261 "type": "string", |
| 262 "enum": ["mount", "unmount"], | 262 "enum": ["mount", "unmount"], |
| 263 "description": "Is the event raised for mounting or unmounting." | 263 "description": "Is the event raised for mounting or unmounting." |
| 264 }, | 264 }, |
| 265 "status": { | 265 "status": { |
| 266 "type": "string", | 266 "type": "string", |
| 267 "enum": ["success", "error_unknown", "error_internal", | 267 "enum": ["success", "error_unknown", "error_internal", |
| 268 "error_unknown_filesystem", "error_unsuported_filesystem", | 268 "error_unknown_filesystem", "error_unsuported_filesystem", |
| 269 "error_invalid_archive", "error_libcros_missing", | 269 "error_invalid_archive", "error_authentication", |
| 270 "error_authentication", "error_network", | 270 "error_network", "error_path_unmounted"], |
| 271 "error_path_unmounted"], | |
| 272 "description": "Event type that tells listeners if mount was success
ful or an error occurred. It also specifies the error." | 271 "description": "Event type that tells listeners if mount was success
ful or an error occurred. It also specifies the error." |
| 273 }, | 272 }, |
| 274 "sourcePath": { | 273 "sourcePath": { |
| 275 "type": "string", | 274 "type": "string", |
| 276 "description": "Path that has been mounted." | 275 "description": "Path that has been mounted." |
| 277 }, | 276 }, |
| 278 "mountPath": { | 277 "mountPath": { |
| 279 "type": "string", | 278 "type": "string", |
| 280 "optional": true, | 279 "optional": true, |
| 281 "description": "Path that sourcePath was mounted to." | 280 "description": "Path that sourcePath was mounted to." |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1059 }, | 1058 }, |
| 1060 { | 1059 { |
| 1061 "name": "onNetworkConnectionChanged", | 1060 "name": "onNetworkConnectionChanged", |
| 1062 "type": "function", | 1061 "type": "function", |
| 1063 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getNetworkConnectionState'.", | 1062 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getNetworkConnectionState'.", |
| 1064 "parameters": [] | 1063 "parameters": [] |
| 1065 } | 1064 } |
| 1066 ] | 1065 ] |
| 1067 } | 1066 } |
| 1068 ] | 1067 ] |
| OLD | NEW |