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 [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 { | 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, <code> | 10 // as in case of errors when calling methods of the API. For success, <code> |
12 // OK</code> must be used. | 11 // 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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 | 599 |
601 // Raised when the watcher should be removed. If an error occurs, then | 600 // Raised when the watcher should be removed. If an error occurs, then |
602 // <code>errorCallback</code> must be called. | 601 // <code>errorCallback</code> must be called. |
603 [maxListeners=1, nodoc] static void onRemoveWatcherRequested( | 602 [maxListeners=1, nodoc] static void onRemoveWatcherRequested( |
604 RemoveWatcherRequestedOptions options, | 603 RemoveWatcherRequestedOptions options, |
605 ProviderSuccessCallback successCallback, | 604 ProviderSuccessCallback successCallback, |
606 ProviderErrorCallback errorCallback); | 605 ProviderErrorCallback errorCallback); |
607 }; | 606 }; |
608 }; | 607 }; |
609 | 608 |
OLD | NEW |