Index: webkit/plugins/ppapi/mock_plugin_delegate.cc |
=================================================================== |
--- webkit/plugins/ppapi/mock_plugin_delegate.cc (revision 171259) |
+++ webkit/plugins/ppapi/mock_plugin_delegate.cc (working copy) |
@@ -220,6 +220,47 @@ |
void MockPluginDelegate::DidUpdateFile(const GURL& file_path, int64_t delta) { |
} |
+base::PlatformFileError MockPluginDelegate::OpenFile( |
+ const ::ppapi::PepperFilePath& path, |
+ int flags, |
+ base::PlatformFile* file) { |
+ return base::PLATFORM_FILE_ERROR_FAILED; |
+} |
+ |
+base::PlatformFileError MockPluginDelegate::RenameFile( |
+ const ::ppapi::PepperFilePath& from_path, |
+ const ::ppapi::PepperFilePath& to_path) { |
+ return base::PLATFORM_FILE_ERROR_FAILED; |
+} |
+ |
+base::PlatformFileError MockPluginDelegate::DeleteFileOrDir( |
+ const ::ppapi::PepperFilePath& path, |
+ bool recursive) { |
+ return base::PLATFORM_FILE_ERROR_FAILED; |
+} |
+ |
+base::PlatformFileError MockPluginDelegate::CreateDir( |
+ const ::ppapi::PepperFilePath& path) { |
+ return base::PLATFORM_FILE_ERROR_FAILED; |
+} |
+ |
+base::PlatformFileError MockPluginDelegate::QueryFile( |
+ const ::ppapi::PepperFilePath& path, |
+ base::PlatformFileInfo* info) { |
+ return base::PLATFORM_FILE_ERROR_FAILED; |
+} |
+ |
+base::PlatformFileError MockPluginDelegate::GetDirContents( |
+ const ::ppapi::PepperFilePath& path, |
+ ::ppapi::DirContents* contents) { |
+ return base::PLATFORM_FILE_ERROR_FAILED; |
+} |
+ |
+base::PlatformFileError MockPluginDelegate::CreateTemporaryFile( |
+ base::PlatformFile* file) { |
+ return base::PLATFORM_FILE_ERROR_FAILED; |
+} |
+ |
void MockPluginDelegate::SyncGetFileSystemPlatformPath( |
const GURL& url, |
FilePath* platform_path) { |