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); |
}; |
}; |