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

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

Issue 287673004: [fsp] First part of support for reading files. (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 582bc7dd79a13b9cf7ecefeef7908bea74230bcb..f63cc0e9feec13edc1ff1558d0e6f9ab4ddaee1d 100644
--- a/chrome/common/extensions/api/file_system_provider_internal.idl
+++ b/chrome/common/extensions/api/file_system_provider_internal.idl
@@ -74,6 +74,21 @@ namespace fileSystemProviderInternal {
long fileSystemId,
long requestId,
fileSystemProvider.ProviderError error);
+
+ // Internal. Success callback of the <code>onReadFileRequested</code>
+ // event. Can be called multiple times per request.
+ static void readFileRequestedSuccess(
+ long fileSystemId,
+ long requestId,
+ DOMString data,
+ boolean hasNext);
+
+ // Internal. Error callback of the <code>onReadFileRequested</code>
+ // event. Must be called when reading a file fails.
+ static void readFileRequestedError(
+ long fileSystemId,
+ long requestId,
+ fileSystemProvider.ProviderError error);
};
};

Powered by Google App Engine
This is Rietveld 408576698