Index: webkit/plugins/ppapi/plugin_delegate.h |
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h |
index 6f851907bdded5f64c17342ce3b35da16abab203..aae5f214ddaf4a0873d83a64081b3709dc07ce21 100644 |
--- a/webkit/plugins/ppapi/plugin_delegate.h |
+++ b/webkit/plugins/ppapi/plugin_delegate.h |
@@ -413,16 +413,24 @@ class PluginDelegate { |
const WebKit::WebFileChooserParams& params, |
WebKit::WebFileChooserCompletion* chooser_completion) = 0; |
- // Sends an async IPC to open a file. |
+ // Sends an async IPC to open a local file. |
typedef base::Callback<void (base::PlatformFileError, base::PassPlatformFile)> |
AsyncOpenFileCallback; |
virtual bool AsyncOpenFile(const FilePath& path, |
int flags, |
const AsyncOpenFileCallback& callback) = 0; |
+ |
+ // Sends an async IPC to open a file through filesystem API. |
+ typedef base::Callback<void (base::PlatformFileError)> |
+ NotifyCloseFileCallback; |
+ typedef base::Callback< |
yzshen1
2012/06/29 17:15:52
Please add a comment about how the callback(s) wor
kinaba
2012/07/03 06:46:35
Done.
|
+ void (base::PlatformFileError, |
+ base::PassPlatformFile, |
+ const NotifyCloseFileCallback&)> AsyncOpenFileSystemURLCallback; |
virtual bool AsyncOpenFileSystemURL( |
const GURL& path, |
int flags, |
- const AsyncOpenFileCallback& callback) = 0; |
+ const AsyncOpenFileSystemURLCallback& callback) = 0; |
virtual bool OpenFileSystem( |
const GURL& url, |