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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 "type": "string", | 356 "type": "string", |
357 "description": "URL of file that is being transfered." | 357 "description": "URL of file that is being transfered." |
358 }, | 358 }, |
359 "canceled": { | 359 "canceled": { |
360 "type": "boolean", | 360 "type": "boolean", |
361 "description": "True if ongoing transfer operation was found and can
celed." | 361 "description": "True if ongoing transfer operation was found and can
celed." |
362 } | 362 } |
363 } | 363 } |
364 }, | 364 }, |
365 { | 365 { |
366 "id": "FileWatchChangedEntry", | |
367 "type": "object", | |
368 "description": "Information about changed file or directory", | |
369 "properties": { | |
370 "changeType": { | |
371 "type": "string", | |
372 "enum": ["added", "deleted", "updated"], | |
373 "description": "Specifies type of the change." | |
374 }, | |
375 "fileUrl": { | |
376 "type": "string", | |
377 "description": "URL of the changed file." | |
378 } | |
379 } | |
380 }, | |
381 { | |
382 "id": "FileWatchEvent", | 366 "id": "FileWatchEvent", |
383 "type": "object", | 367 "type": "object", |
384 "description": "Directory change notification details.", | 368 "description": "Directory change notification details.", |
385 "properties": { | 369 "properties": { |
386 "eventType": { | 370 "eventType": { |
387 "type": "string", | 371 "type": "string", |
388 "enum": ["changed", "error"], | 372 "enum": ["changed", "error"], |
389 "description": "Specifies type of event that is raised." | 373 "description": "Specifies type of event that is raised." |
390 }, | 374 }, |
391 "directoryUrl": { | 375 "directoryUrl": { |
392 "type": "string", | 376 "type": "string", |
393 "description": "URL of watched directory." | 377 "description": "URL of watched directory." |
394 }, | |
395 "changedEntries": { | |
396 "type": "array", | |
397 "items": {"$ref": "FileWatchChangedEntry"} | |
398 } | 378 } |
399 } | 379 } |
400 } | 380 } |
401 ], | 381 ], |
402 "functions": [ | 382 "functions": [ |
403 { | 383 { |
404 "name": "logoutUser", | 384 "name": "logoutUser", |
405 "type": "function", | 385 "type": "function", |
406 "description": "Logout the current user.", | 386 "description": "Logout the current user.", |
407 "parameters": [] | 387 "parameters": [] |
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1318 }, | 1298 }, |
1319 { | 1299 { |
1320 "name": "onDriveConnectionStatusChanged", | 1300 "name": "onDriveConnectionStatusChanged", |
1321 "type": "function", | 1301 "type": "function", |
1322 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", | 1302 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", |
1323 "parameters": [] | 1303 "parameters": [] |
1324 } | 1304 } |
1325 ] | 1305 ] |
1326 } | 1306 } |
1327 ] | 1307 ] |
OLD | NEW |