| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Use the <code>chrome.fileSystemProvider</code> API to create file systems, | 5 // Use the <code>chrome.fileSystemProvider</code> API to create file systems, |
| 6 // that can be accessible from the file manager on Chrome OS. | 6 // that can be accessible from the file manager on Chrome OS. |
| 7 [platforms=("chromeos"), | 7 [platforms=("chromeos"), |
| 8 implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_sy
stem_provider_api.h"] | 8 implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_sy
stem_provider_api.h"] |
| 9 namespace fileSystemProvider { | 9 namespace fileSystemProvider { |
| 10 // Error codes used by providing extensions in response to requests. For | 10 // Error codes used by providing extensions in response to requests. For |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 [instanceOf=Date] object modificationTime; | 50 [instanceOf=Date] object modificationTime; |
| 51 | 51 |
| 52 // Mime type for the entry. | 52 // Mime type for the entry. |
| 53 DOMString? mimeType; | 53 DOMString? mimeType; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 // Options for the <code>mount()</code> method. | 56 // Options for the <code>mount()</code> method. |
| 57 dictionary MountOptions { | 57 dictionary MountOptions { |
| 58 DOMString fileSystemId; | 58 DOMString fileSystemId; |
| 59 DOMString displayName; | 59 DOMString displayName; |
| 60 [nodoc] boolean? writable; |
| 60 }; | 61 }; |
| 61 | 62 |
| 62 // Options for the <code>unmount()</code> method. | 63 // Options for the <code>unmount()</code> method. |
| 63 dictionary UnmountOptions { | 64 dictionary UnmountOptions { |
| 64 DOMString fileSystemId; | 65 DOMString fileSystemId; |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 // Options for the <code>onUnmountRequested()</code> event. | 68 // Options for the <code>onUnmountRequested()</code> event. |
| 68 dictionary UnmountRequestedOptions { | 69 dictionary UnmountRequestedOptions { |
| 69 DOMString fileSystemId; | 70 DOMString fileSystemId; |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 // Raised when deleting an entry is requested. If <code>recursive</code> is | 247 // Raised when deleting an entry is requested. If <code>recursive</code> is |
| 247 // true, and the entry is a directory, then all of the entries inside | 248 // true, and the entry is a directory, then all of the entries inside |
| 248 // must be recursively deleted as well. | 249 // must be recursively deleted as well. |
| 249 [maxListeners=1, nodoc] static void onDeleteEntryRequested( | 250 [maxListeners=1, nodoc] static void onDeleteEntryRequested( |
| 250 DeleteEntryRequestedOptions options, | 251 DeleteEntryRequestedOptions options, |
| 251 ProviderSuccessCallback successCallback, | 252 ProviderSuccessCallback successCallback, |
| 252 ProviderErrorCallback errorCallback); | 253 ProviderErrorCallback errorCallback); |
| 253 }; | 254 }; |
| 254 }; | 255 }; |
| 255 | 256 |
| OLD | NEW |