| 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 [implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_sy
stem_provider_api.h", | 7 [implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_sy
stem_provider_api.h"] |
| 8 use_movable_types=true] | |
| 9 namespace fileSystemProvider { | 8 namespace fileSystemProvider { |
| 10 // Error codes used by providing extensions in response to requests as well | 9 // Error codes used by providing extensions in response to requests as well |
| 11 // as in case of errors when calling methods of the API. For success, | 10 // as in case of errors when calling methods of the API. For success, |
| 12 // <code>"OK"</code> must be used. | 11 // <code>"OK"</code> must be used. |
| 13 enum ProviderError { | 12 enum ProviderError { |
| 14 OK, | 13 OK, |
| 15 FAILED, | 14 FAILED, |
| 16 IN_USE, | 15 IN_USE, |
| 17 EXISTS, | 16 EXISTS, |
| 18 NOT_FOUND, | 17 NOT_FOUND, |
| (...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 // Raised when executing an action for a set of files or directories is\ | 774 // Raised when executing an action for a set of files or directories is\ |
| 776 // requested. After the action is completed, <code>successCallback</code> | 775 // requested. After the action is completed, <code>successCallback</code> |
| 777 // must be called. On error, <code>errorCallback</code> must be called. | 776 // must be called. On error, <code>errorCallback</code> must be called. |
| 778 [maxListeners=1] static void onExecuteActionRequested( | 777 [maxListeners=1] static void onExecuteActionRequested( |
| 779 ExecuteActionRequestedOptions options, | 778 ExecuteActionRequestedOptions options, |
| 780 ProviderSuccessCallback successCallback, | 779 ProviderSuccessCallback successCallback, |
| 781 ProviderErrorCallback errorCallback); | 780 ProviderErrorCallback errorCallback); |
| 782 }; | 781 }; |
| 783 }; | 782 }; |
| 784 | 783 |
| OLD | NEW |