Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: chrome/common/extensions/api/file_system_provider.idl

Issue 1829783002: [Extensions] Convert APIs to use movable types [5] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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]
8 namespace fileSystemProvider { 9 namespace fileSystemProvider {
9 // Error codes used by providing extensions in response to requests as well 10 // Error codes used by providing extensions in response to requests as well
10 // as in case of errors when calling methods of the API. For success, 11 // as in case of errors when calling methods of the API. For success,
11 // <code>"OK"</code> must be used. 12 // <code>"OK"</code> must be used.
12 enum ProviderError { 13 enum ProviderError {
13 OK, 14 OK,
14 FAILED, 15 FAILED,
15 IN_USE, 16 IN_USE,
16 EXISTS, 17 EXISTS,
17 NOT_FOUND, 18 NOT_FOUND,
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 // Raised when executing an action for a set of files or directories is\ 775 // Raised when executing an action for a set of files or directories is\
775 // requested. After the action is completed, <code>successCallback</code> 776 // requested. After the action is completed, <code>successCallback</code>
776 // must be called. On error, <code>errorCallback</code> must be called. 777 // must be called. On error, <code>errorCallback</code> must be called.
777 [maxListeners=1] static void onExecuteActionRequested( 778 [maxListeners=1] static void onExecuteActionRequested(
778 ExecuteActionRequestedOptions options, 779 ExecuteActionRequestedOptions options,
779 ProviderSuccessCallback successCallback, 780 ProviderSuccessCallback successCallback,
780 ProviderErrorCallback errorCallback); 781 ProviderErrorCallback errorCallback);
781 }; 782 };
782 }; 783 };
783 784
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/file_system.idl ('k') | chrome/common/extensions/api/file_system_provider_internal.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698