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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 "type": "string", | 298 "type": "string", |
299 "description": "URL of file that is being transfered." | 299 "description": "URL of file that is being transfered." |
300 }, | 300 }, |
301 "canceled": { | 301 "canceled": { |
302 "type": "boolean", | 302 "type": "boolean", |
303 "description": "True if ongoing transfer operation was found and can
celed." | 303 "description": "True if ongoing transfer operation was found and can
celed." |
304 } | 304 } |
305 } | 305 } |
306 }, | 306 }, |
307 { | 307 { |
| 308 "id": "FileWatchChangedEntry", |
| 309 "type": "object", |
| 310 "description": "Information about changed file or directory", |
| 311 "properties": { |
| 312 "changeType": { |
| 313 "type": "string", |
| 314 "enum": ["added", "deleted", "updated"], |
| 315 "description": "Specifies type of the change." |
| 316 }, |
| 317 "fileUrl": { |
| 318 "type": "string", |
| 319 "description": "URL of the changed file." |
| 320 } |
| 321 } |
| 322 }, |
| 323 { |
308 "id": "FileWatchEvent", | 324 "id": "FileWatchEvent", |
309 "type": "object", | 325 "type": "object", |
310 "description": "Directory change notification details.", | 326 "description": "Directory change notification details.", |
311 "properties": { | 327 "properties": { |
312 "eventType": { | 328 "eventType": { |
313 "type": "string", | 329 "type": "string", |
314 "enum": ["changed", "error"], | 330 "enum": ["changed", "error"], |
315 "description": "Specifies type of event that is raised." | 331 "description": "Specifies type of event that is raised." |
316 }, | 332 }, |
317 "directoryUrl": { | 333 "directoryUrl": { |
318 "type": "string", | 334 "type": "string", |
319 "description": "URL of watched directory." | 335 "description": "URL of watched directory." |
| 336 }, |
| 337 "changedEntries": { |
| 338 "type": "array", |
| 339 "items": {"$ref": "FileWatchChangedEntry"} |
320 } | 340 } |
321 } | 341 } |
322 } | 342 } |
323 ], | 343 ], |
324 "functions": [ | 344 "functions": [ |
325 { | 345 { |
326 "name": "logoutUser", | 346 "name": "logoutUser", |
327 "type": "function", | 347 "type": "function", |
328 "description": "Logout the current user.", | 348 "description": "Logout the current user.", |
329 "parameters": [] | 349 "parameters": [] |
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1242 }, | 1262 }, |
1243 { | 1263 { |
1244 "name": "onDriveConnectionStatusChanged", | 1264 "name": "onDriveConnectionStatusChanged", |
1245 "type": "function", | 1265 "type": "function", |
1246 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", | 1266 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", |
1247 "parameters": [] | 1267 "parameters": [] |
1248 } | 1268 } |
1249 ] | 1269 ] |
1250 } | 1270 } |
1251 ] | 1271 ] |
OLD | NEW |