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

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

Issue 391613002: Revert 282890 "[fsp] Add an option for mounting in R/W mode." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
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;
61 }; 60 };
62 61
63 // Options for the <code>unmount()</code> method. 62 // Options for the <code>unmount()</code> method.
64 dictionary UnmountOptions { 63 dictionary UnmountOptions {
65 DOMString fileSystemId; 64 DOMString fileSystemId;
66 }; 65 };
67 66
68 // Options for the <code>onUnmountRequested()</code> event. 67 // Options for the <code>onUnmountRequested()</code> event.
69 dictionary UnmountRequestedOptions { 68 dictionary UnmountRequestedOptions {
70 DOMString fileSystemId; 69 DOMString fileSystemId;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // Raised when deleting an entry is requested. If <code>recursive</code> is 246 // Raised when deleting an entry is requested. If <code>recursive</code> is
248 // true, and the entry is a directory, then all of the entries inside 247 // true, and the entry is a directory, then all of the entries inside
249 // must be recursively deleted as well. 248 // must be recursively deleted as well.
250 [maxListeners=1, nodoc] static void onDeleteEntryRequested( 249 [maxListeners=1, nodoc] static void onDeleteEntryRequested(
251 DeleteEntryRequestedOptions options, 250 DeleteEntryRequestedOptions options,
252 ProviderSuccessCallback successCallback, 251 ProviderSuccessCallback successCallback,
253 ProviderErrorCallback errorCallback); 252 ProviderErrorCallback errorCallback);
254 }; 253 };
255 }; 254 };
256 255
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698