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

Unified Diff: content/renderer/pepper/pepper_plugin_delegate_impl.h

Issue 10600013: Wired support for file truncating with RemoteFileSystemOperation::OpenFile() method (case when base… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: content/renderer/pepper/pepper_plugin_delegate_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.h b/content/renderer/pepper/pepper_plugin_delegate_impl.h
index 9cae5fafff1ddbd4edb378e52c97e409f419f292..728cfd8bcd3de48414eff12ddf3fa2ffbda3102f 100644
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.h
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.h
@@ -217,6 +217,8 @@ class PepperPluginDelegateImpl
const GURL& path,
int flags,
const AsyncOpenFileCallback& callback) OVERRIDE;
+ virtual base::Callback<void (base::PlatformFileError)>
+ GetCloseFileSystemURLCallback(const GURL& path) OVERRIDE;
virtual bool OpenFileSystem(
const GURL& url,
fileapi::FileSystemType type,
@@ -467,7 +469,10 @@ class PepperPluginDelegateImpl
MouseLockDispatcher* GetMouseLockDispatcher(
webkit::ppapi::PluginInstance* instance);
- // Pointer to the RenderView that owns us.
+ // Notifies the file system about file close.
+ void DoNotifyFileClosed(const GURL& path, base::PlatformFileError unused);
+
+ // Pointer to the RenderView that owns us.
RenderViewImpl* render_view_;
std::set<webkit::ppapi::PluginInstance*> active_instances_;

Powered by Google App Engine
This is Rietveld 408576698