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

Unified Diff: chrome/common/extensions/api/file_system_provider_internal.idl

Issue 246913003: [fsp] Add support for reading directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 7 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_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);
};
};

Powered by Google App Engine
This is Rietveld 408576698