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

Unified Diff: webkit/plugins/ppapi/plugin_delegate.h

Issue 10541113: Notify CloseFile from Pepper to FileSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (take 2). Created 8 years, 6 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
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppb_file_io_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..003e75691bebed3524d3cb55502132aab7455e33 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -424,6 +424,10 @@ class PluginDelegate {
int flags,
const AsyncOpenFileCallback& callback) = 0;
+ // Retrieves a callback for doing clean-up task for closing filesystem URL.
+ virtual base::Callback<void (base::PlatformFileError)>
yzshen1 2012/06/28 20:14:17 It seems more intuitive to have such an interface:
kinaba 2012/06/29 09:28:33 No reason to object. Done.
+ GetCloseFileSystemURLCallback(const GURL& path) = 0;
+
virtual bool OpenFileSystem(
const GURL& url,
fileapi::FileSystemType type,
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppb_file_io_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698