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