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

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

Issue 258783006: [fsp] Add the getMetadata operation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 8 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 80757bd699bb0a04eeaabfbfd7b6b83a5f301f62..30ebbc7ea78b1ff4d2549e78f4b59bfdcbc078eb 100644
--- a/chrome/common/extensions/api/file_system_provider_internal.idl
+++ b/chrome/common/extensions/api/file_system_provider_internal.idl
@@ -19,6 +19,20 @@ namespace fileSystemProviderInternal {
long fileSystemId,
long requestId,
fileSystemProvider.ProviderError error);
+
+ // Internal. Success callback of the <code>onGetMetadataRequested</code>
+ // event. Must be called if metadata is available.
+ static void getMetadataRequestedSuccess(
+ long fileSystemId,
+ long requestId,
+ fileSystemProvider.EntryMetadata metadata);
+
+ // Internal. Error callback of the <code>onGetMetadataRequested</code>
+ // event. Must be called when obtaining metadata fails.
+ static void getMetadataRequestedError(
+ long fileSystemId,
+ long requestId,
+ fileSystemProvider.ProviderError error);
};
};

Powered by Google App Engine
This is Rietveld 408576698