Index: chrome/common/extensions/api/file_system_provider_internal.idl |
diff --git a/chrome/common/extensions/api/file_system_provider_internal.idl b/chrome/common/extensions/api/file_system_provider_internal.idl |
index 30ebbc7ea78b1ff4d2549e78f4b59bfdcbc078eb..7a80d5b6c07e8ac313e86eefe36ab75c87b92391 100644 |
--- a/chrome/common/extensions/api/file_system_provider_internal.idl |
+++ b/chrome/common/extensions/api/file_system_provider_internal.idl |
@@ -33,6 +33,21 @@ namespace fileSystemProviderInternal { |
long fileSystemId, |
long requestId, |
fileSystemProvider.ProviderError error); |
+ |
+ // Internal. Success callback of the <code>onReadDirectoryRequested</code> |
+ // event. Can be called multiple times per request. |
+ static void readDirectoryRequestedSuccess( |
+ long fileSystemId, |
+ long requestId, |
+ fileSystemProvider.EntryMetadata[] entries, |
+ boolean hasNext); |
+ |
+ // Internal. Error callback of the <code>onReadDirectoryRequested</code> |
+ // event. Must be called when reading a directory fails. |
+ static void readDirectoryRequestedError( |
+ long fileSystemId, |
+ long requestId, |
+ fileSystemProvider.ProviderError error); |
}; |
}; |