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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 "type": "number", | 64 "type": "number", |
65 "description": "Approximated total disk volume size in bytes." | 65 "description": "Approximated total disk volume size in bytes." |
66 } | 66 } |
67 } | 67 } |
68 }, | 68 }, |
69 { | 69 { |
70 "id": "DriveEntryProperties", | 70 "id": "DriveEntryProperties", |
71 "type": "object", | 71 "type": "object", |
72 "description": "Drive file properties.", | 72 "description": "Drive file properties.", |
73 "properties": { | 73 "properties": { |
74 "fileUrl": { | |
75 "type": "string", | |
76 "optional": true, | |
77 "description": "the URL given for this file." | |
78 }, | |
79 "thumbnailUrl": { | 74 "thumbnailUrl": { |
80 "type": "string", | 75 "type": "string", |
81 "optional": true, | 76 "optional": true, |
82 "description": "URL to the Drive thumbnail image for this file." | 77 "description": "URL to the Drive thumbnail image for this file." |
83 }, | 78 }, |
84 "isPinned": { | 79 "isPinned": { |
85 "type": "boolean", | 80 "type": "boolean", |
86 "optional": true, | 81 "optional": true, |
87 "description": "True if the file is pinned in Drive cache." | 82 "description": "True if the file is pinned in Drive cache." |
88 }, | 83 }, |
89 "isPresent": { | 84 "isPresent": { |
90 "type": "boolean", | 85 "type": "boolean", |
91 "optional": true, | 86 "optional": true, |
92 "description": "True if the file is present in Drive cache." | 87 "description": "True if the file is present in Drive cache." |
93 }, | 88 }, |
94 "isDirty": { | 89 "isDirty": { |
95 "type": "boolean", | 90 "type": "boolean", |
96 "optional": true, | 91 "optional": true, |
97 "description": "True if the file is awaiting upload in Drive cache." | 92 "description": "True if the file is awaiting upload in Drive cache." |
98 }, | 93 }, |
99 "isHosted": { | 94 "isHosted": { |
100 "type": "boolean", | 95 "type": "boolean", |
101 "optional": true, | 96 "optional": true, |
102 "description": "True if the file is hosted on a Drive server instead
of local." | 97 "description": "True if the file is hosted on a Drive server instead
of local." |
103 }, | 98 }, |
104 "errorCode": { | |
105 "type": "integer", | |
106 "optional": true, | |
107 "description": "The error code (from base::PlatformFileError) if fet
ching the properties for this file had an error." | |
108 }, | |
109 "customIconUrl": { | 99 "customIconUrl": { |
110 "type": "string", | 100 "type": "string", |
111 "optional": true, | 101 "optional": true, |
112 "description": "URL to the custom icon for this file." | 102 "description": "URL to the custom icon for this file." |
113 }, | 103 }, |
114 "contentMimeType": { | 104 "contentMimeType": { |
115 "type": "string", | 105 "type": "string", |
116 "optional": true, | 106 "optional": true, |
117 "description": "Drive MIME type for this file." | 107 "description": "Drive MIME type for this file." |
118 }, | 108 }, |
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1318 }, | 1308 }, |
1319 { | 1309 { |
1320 "name": "onDriveConnectionStatusChanged", | 1310 "name": "onDriveConnectionStatusChanged", |
1321 "type": "function", | 1311 "type": "function", |
1322 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", | 1312 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", |
1323 "parameters": [] | 1313 "parameters": [] |
1324 } | 1314 } |
1325 ] | 1315 ] |
1326 } | 1316 } |
1327 ] | 1317 ] |
OLD | NEW |