Chromium Code Reviews| 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 c08a884751c23d27f2353b529b76c2c7210c091b..5c32948456682f343da6bd8cb8671b60ceaabb53 100644 |
| --- a/chrome/common/extensions/api/file_system_provider.idl |
| +++ b/chrome/common/extensions/api/file_system_provider.idl |
| @@ -118,6 +118,14 @@ namespace fileSystemProvider { |
| boolean recursive; |
| }; |
| + // Options for the <code>onDeleteEntryRequested()</code> event. |
| + dictionary DeleteEntryRequestedOptions { |
| + DOMString fileSystemId; |
| + long requestId; |
| + DOMString entryPath; |
| + boolean recursive; |
| + }; |
| + |
| // Callback to receive the result of mount() function. |
| callback MountCallback = void([nodoc, instanceOf=DOMError] object error); |
| @@ -229,13 +237,21 @@ namespace fileSystemProvider { |
| ProviderErrorCallback errorCallback); |
| // Raised when creating a directory is requested. If <code>exclusive</code> |
| - // is set to true, then the operation should fail if the target directory |
| + // is set to true, then the operation must fail if the target directory |
| // already exists. If <code>recursive</code> is true, then all of the |
| - // missing directories on the directory path should be created. |
| + // missing directories on the directory path must be created. |
| [maxListeners=1, nodoc] static void onCreateDirectoryRequested( |
| CreateDirectoryRequestedOptions options, |
| ProviderSuccessCallback successCallback, |
| ProviderErrorCallback errorCallback); |
| + |
| + // Raised when deleting an entry is requested. If <code>recursive</code> is |
| + // true, and the entry is a directory, then all of the entries inside |
| + // must be recursively deleted as well. |
| + [maxListeners=1, nodoc] static void onDeleteEntryRequested( |
|
not at google - send to devlin
2014/07/08 16:30:18
I have exactly the same comments on this CL as the
|
| + DeleteEntryRequestedOptions options, |
| + ProviderSuccessCallback successCallback, |
| + ProviderErrorCallback errorCallback); |
| }; |
| }; |