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

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

Issue 11437038: Revert 171408 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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/ppapi_plugin_instance.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 695b0f7ee4998e470a35dc59ed228e21f44f53ba..a3cbd89a3571b42818747cdd994020014b18f7ef 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -507,6 +507,27 @@ class PluginDelegate {
virtual void WillUpdateFile(const GURL& file_path) = 0;
virtual void DidUpdateFile(const GURL& file_path, int64_t delta) = 0;
+ virtual base::PlatformFileError OpenFile(
+ const ::ppapi::PepperFilePath& path,
+ int flags,
+ base::PlatformFile* file) = 0;
+ virtual base::PlatformFileError RenameFile(
+ const ::ppapi::PepperFilePath& from_path,
+ const ::ppapi::PepperFilePath& to_path) = 0;
+ virtual base::PlatformFileError DeleteFileOrDir(
+ const ::ppapi::PepperFilePath& path,
+ bool recursive) = 0;
+ virtual base::PlatformFileError CreateDir(
+ const ::ppapi::PepperFilePath& path) = 0;
+ virtual base::PlatformFileError QueryFile(
+ const ::ppapi::PepperFilePath& path,
+ base::PlatformFileInfo* info) = 0;
+ virtual base::PlatformFileError GetDirContents(
+ const ::ppapi::PepperFilePath& path,
+ ::ppapi::DirContents* contents) = 0;
+ virtual base::PlatformFileError CreateTemporaryFile(
+ base::PlatformFile* file) = 0;
+
// Synchronously returns the platform file path for a filesystem URL.
virtual void SyncGetFileSystemPlatformPath(const GURL& url,
FilePath* platform_path) = 0;
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698