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

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

Issue 55903005: File system provider. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | chrome/renderer/resources/extensions/file_system_provider_custom_bindings.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/file_system_provider.idl
diff --git a/chrome/common/extensions/api/file_system_provider.idl b/chrome/common/extensions/api/file_system_provider.idl
index eb23cd17ed5fd8bfa6955676374c703038a7d40b..6ed44b6d6bebe64ebd15557d70370e8f39f0edb7 100644
--- a/chrome/common/extensions/api/file_system_provider.idl
+++ b/chrome/common/extensions/api/file_system_provider.idl
@@ -12,8 +12,10 @@ namespace fileSystemProvider {
// system just mounted. <code>fileSystemID</code> is undefined on error.
// The ID is used to distinguish multiple file systems mounted from a
// single File System Provider.
- callback MountCallback = void([instanceOf=DOMError] object error,
- DOMString fileSystemId);
+ callback MountCallback = void(DOMString fileSystemId,
+ [nodoc, instanceOf=DOMError] object error);
+
+ [nocompile] callback ErrorCallback = void([instanceOf=DOMError] object error);
interface Functions {
// Mounts a file system with the given
@@ -24,6 +26,7 @@ namespace fileSystemProvider {
// uniquified by adding suffix like "(1)" in the Files.app UI. An empty
// display name is not allowed.
static void mount(DOMString displayName,
- MountCallback callback);
+ MountCallback success_callback,
+ [nocompile] ErrorCallback error_callback);
};
};
« no previous file with comments | « no previous file | chrome/renderer/resources/extensions/file_system_provider_custom_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698