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