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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
657 { | 657 { |
658 "name": "mountType", | 658 "name": "mountType", |
659 "type": "string", | 659 "type": "string", |
660 "enum": ["device", "file", "network", "gdata"], | 660 "enum": ["device", "file", "network", "gdata"], |
661 "description": "Mount point type. 'file' for compressed files" | 661 "description": "Mount point type. 'file' for compressed files" |
662 }, | 662 }, |
663 { | 663 { |
664 "name": "options", | 664 "name": "options", |
665 "type": "object", | 665 "type": "object", |
666 "description": "Name/value pairs for source specific options", | 666 "description": "Name/value pairs for source specific options", |
667 "optional": true | 667 "optional": true |
tbarzic
2012/04/27 05:44:21
since callback is not optional, I'd remove this on
hshi
2012/04/27 18:48:56
Done.
| |
668 }, | |
669 { | |
670 "name": "callback", | |
671 "type": "function", | |
672 "parameters": [ | |
673 { | |
674 "name": "sourcePath", | |
675 "type": "string", | |
676 "description": "Source path of the mount." | |
677 } | |
678 ] | |
668 } | 679 } |
669 ] | 680 ] |
670 }, | 681 }, |
671 { | 682 { |
672 "name": "removeMount", | 683 "name": "removeMount", |
673 "description": "Unmounts a mounted resource.", | 684 "description": "Unmounts a mounted resource.", |
674 "parameters": [ | 685 "parameters": [ |
675 { | 686 { |
676 "name": "mountPath", | 687 "name": "mountPath", |
677 "type": "string", | 688 "type": "string", |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
898 { | 909 { |
899 "$ref": "FileWatchEvent", | 910 "$ref": "FileWatchEvent", |
900 "name": "event", | 911 "name": "event", |
901 "description": "File watch event information." | 912 "description": "File watch event information." |
902 } | 913 } |
903 ] | 914 ] |
904 } | 915 } |
905 ] | 916 ] |
906 } | 917 } |
907 ] | 918 ] |
OLD | NEW |