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

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

Issue 260943002: [fsp] Extract common code to FileSystemProvidedInternalFunction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 [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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Raised when unmounting for the file system with the <code>fileSystemId 95 // Raised when unmounting for the file system with the <code>fileSystemId
96 // </code> identifier is requested. In response, the <code>unmount</code> 96 // </code> identifier is requested. In response, the <code>unmount</code>
97 // API method should be called together with <code>successCallback</code>. 97 // API method should be called together with <code>successCallback</code>.
98 // If unmounting is not possible (eg. due to a pending operation), then 98 // If unmounting is not possible (eg. due to a pending operation), then
99 // <code>errorCallback</code> must be called. 99 // <code>errorCallback</code> must be called.
100 [maxListeners=1] static void onUnmountRequested( 100 [maxListeners=1] static void onUnmountRequested(
101 long fileSystemId, 101 long fileSystemId,
102 ProviderSuccessCallback successCallback, 102 ProviderSuccessCallback successCallback,
103 ProviderErrorCallback errorCallback); 103 ProviderErrorCallback errorCallback);
104 104
105 // Raised, when metadata of a file or a directory at <code>entryPath</code> 105 // Raised when metadata of a file or a directory at <code>entryPath</code>
106 // is requested. The metadata should be returned with the <code> 106 // is requested. The metadata should be returned with the <code>
107 // successCallback</code> call. In case of an error, <code>errorCallback 107 // successCallback</code> call. In case of an error, <code>errorCallback
108 // </code> must be called. 108 // </code> must be called.
109 [maxListeners=1] static void onGetMetadataRequested( 109 [maxListeners=1] static void onGetMetadataRequested(
110 long fileSystemId, 110 long fileSystemId,
111 DOMString entryPath, 111 DOMString entryPath,
112 MetadataCallback successCallback, 112 MetadataCallback successCallback,
113 ErrorCallback errorCallback); 113 ErrorCallback errorCallback);
114 }; 114 };
115 }; 115 };
116 116
OLDNEW
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698