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

Unified Diff: chrome/common/extensions/api/file_system_provider.idl

Issue 379743003: [fsp] Remove the create flag from the file opening operation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/file_system_provider.idl
diff --git a/chrome/common/extensions/api/file_system_provider.idl b/chrome/common/extensions/api/file_system_provider.idl
index 471c6a1ff7d44bb0ca8e694a0680fce31f1c92c5..78c6f8cb55b7be681a0f4eaeb6822638b7a8501f 100644
--- a/chrome/common/extensions/api/file_system_provider.idl
+++ b/chrome/common/extensions/api/file_system_provider.idl
@@ -90,7 +90,6 @@ namespace fileSystemProvider {
long requestId;
DOMString filePath;
OpenFileMode mode;
- boolean create;
};
// Options for the <code>onCloseFileRequested()</code> event.
@@ -195,9 +194,8 @@ namespace fileSystemProvider {
EntriesCallback successCallback,
ProviderErrorCallback errorCallback);
- // Raised when opening a file at <code>filePath</code> is requested.
- // If <code>create</code> is set to <code>true</code> and the file does not
- // exist, then it should be created.
+ // Raised when opening a file at <code>filePath</code> is requested. If the
+ // file does not exist, then the operation must fail.
[maxListeners=1] static void onOpenFileRequested(
OpenFileRequestedOptions options,
ProviderSuccessCallback successCallback,

Powered by Google App Engine
This is Rietveld 408576698