| 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 7881f3dce2a93aaf1a1fdb90dc7a54fb32462a5f..557b15352eb81b5aa62ec979dda7698cd0867c75 100644
|
| --- a/chrome/common/extensions/api/file_system.idl
|
| +++ b/chrome/common/extensions/api/file_system.idl
|
| @@ -5,13 +5,19 @@
|
| // File-level comment to appease parser. Eventually this will not be necessary.
|
|
|
| [nodoc] namespace fileSystem {
|
| + dictionary ChooseFileOptions {
|
| + // type can be 'openFile' or 'saveFile'. Default is 'openFile'.
|
| + DOMString? type;
|
| + };
|
| callback GetDisplayPathCallback = void (DOMString displayPath);
|
| callback FileEntryCallback = void ([instanceOf=fileEntry] object fileEntry);
|
|
|
| interface Functions {
|
| static void getDisplayPath([instanceOf=FileEntry] object fileEntry,
|
| - GetDisplayPathCallback onSuccess);
|
| + GetDisplayPathCallback callback);
|
| static void getWritableFileEntry([instanceOf=FileEntry] object fileEntry,
|
| - FileEntryCallback onSuccess);
|
| + FileEntryCallback callback);
|
| + static void chooseFile(optional ChooseFileOptions options,
|
| + FileEntryCallback callback);
|
| };
|
| };
|
|
|