diff options
Diffstat (limited to 'webkit/plugins/ppapi/mock_plugin_delegate.h')
-rw-r--r-- | webkit/plugins/ppapi/mock_plugin_delegate.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.h b/webkit/plugins/ppapi/mock_plugin_delegate.h index f2f3407..5ce5819 100644 --- a/webkit/plugins/ppapi/mock_plugin_delegate.h +++ b/webkit/plugins/ppapi/mock_plugin_delegate.h @@ -101,6 +101,26 @@ class MockPluginDelegate : public PluginDelegate { const AvailableSpaceCallback& callback); virtual void WillUpdateFile(const GURL& file_path); virtual void DidUpdateFile(const GURL& file_path, int64_t delta); + virtual base::PlatformFileError OpenFile( + const ::ppapi::PepperFilePath& path, + int flags, + base::PlatformFile* file); + virtual base::PlatformFileError RenameFile( + const ::ppapi::PepperFilePath& from_path, + const ::ppapi::PepperFilePath& to_path); + virtual base::PlatformFileError DeleteFileOrDir( + const ::ppapi::PepperFilePath& path, + bool recursive); + virtual base::PlatformFileError CreateDir( + const ::ppapi::PepperFilePath& path); + virtual base::PlatformFileError QueryFile( + const ::ppapi::PepperFilePath& path, + base::PlatformFileInfo* info); + virtual base::PlatformFileError GetDirContents( + const ::ppapi::PepperFilePath& path, + ::ppapi::DirContents* contents); + virtual base::PlatformFileError CreateTemporaryFile( + base::PlatformFile* file); virtual void SyncGetFileSystemPlatformPath(const GURL& url, FilePath* platform_path); virtual scoped_refptr<base::MessageLoopProxy> |