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

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: Typo 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 999b68e6a5147609ff8a97bb8930e867afb75091..f101430ff6de3319862a6b4e3eb85ac28827afbf 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'.
//
@@ -59,15 +59,15 @@ namespace fileSystem {
// Get a writable FileEntry from another FileEntry. This call will fail if
// the application does not have the 'write' permission under 'fileSystem'.
- 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