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

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

Issue 10914284: Rename chrome.fileSystem apis to be expandable to directories if we wish. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed blank line Created 8 years, 3 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.idl
diff --git a/chrome/common/extensions/api/file_system.idl b/chrome/common/extensions/api/file_system.idl
index 1294ea2045ee0eae5830c2e4bdc9c8f22f39c67b..d802a972aa59b1370818a0e4f3f2823a336aeb81 100644
--- a/chrome/common/extensions/api/file_system.idl
+++ b/chrome/common/extensions/api/file_system.idl
@@ -18,7 +18,7 @@ namespace fileSystem {
DOMString[]? extensions;
};
- dictionary ChooseFileOptions {
+ dictionary ChooseEntryOptions {
// Type of the prompt to show. Valid types are 'openFile',
// 'openWritableFile' or 'saveFile'.
//
@@ -58,15 +58,15 @@ namespace fileSystem {
// Get a writable FileEntry from another FileEntry. This call will fail
// if the application does not have the fileSystemWrite permission.
- static void getWritableFileEntry([instanceOf=FileEntry] object fileEntry,
- FileEntryCallback callback);
+ static void getWritableEntry([instanceOf=FileEntry] object fileEntry,
+ FileEntryCallback callback);
// Gets whether this FileEntry is writable or not.
- static void isWritableFileEntry([instanceOf=FileEntry] object fileEntry,
- IsWritableCallback callback);
+ static void isWritableEntry([instanceOf=FileEntry] object fileEntry,
+ IsWritableCallback callback);
// Ask the user to choose a file.
- static void chooseFile(optional ChooseFileOptions options,
- FileEntryCallback callback);
+ static void chooseEntry(optional ChooseEntryOptions options,
+ FileEntryCallback callback);
};
};

Powered by Google App Engine
This is Rietveld 408576698