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

Unified Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 11443016: Revert 171080 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1349/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.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698