Chromium Code Reviews| 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 7d9928eb7456edceb02499f1f9987ba1c4a8c938..826d87ec1e35ac24cd12cd3c6311f85b959b512f 100644 |
| --- a/chrome/common/extensions/api/file_system.idl |
| +++ b/chrome/common/extensions/api/file_system.idl |
| @@ -20,7 +20,8 @@ namespace fileSystem { |
| DOMString? type; |
| }; |
| callback GetDisplayPathCallback = void (DOMString displayPath); |
| - callback FileEntryCallback = void ([instanceOf=fileEntry] object fileEntry); |
| + callback FileEntryCallback = void ([instanceOf=FileEntry] object fileEntry); |
| + callback IsWritableCallback = void (boolean isWritable); |
| interface Functions { |
| // Get the display path of a FileEntry object. The display path is based on |
| @@ -34,6 +35,10 @@ namespace fileSystem { |
| static void getWritableFileEntry([instanceOf=FileEntry] object fileEntry, |
| FileEntryCallback callback); |
| + // Gets whether this FileEntry is readable or writable. |
|
benwells
2012/07/10 06:40:23
Nit: ...is writable or not.
thorogood
2012/07/10 06:49:22
Done.
|
| + static void isWritableFileEntry([instanceOf=FileEntry] object fileEntry, |
| + IsWritableCallback callback); |
| + |
| // Ask the user to choose a file. |
| static void chooseFile(optional ChooseFileOptions options, |
| FileEntryCallback callback); |