summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/mock_plugin_delegate.cc
diff options
context:
space:
mode:
authorraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-04 23:32:50 +0000
committerraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-04 23:32:50 +0000
commit2432c058351cb5b4da6b1c5a9c756d1758c9ee5d (patch)
tree372850500a04180aa8e45c38347010a15398eaee /webkit/plugins/ppapi/mock_plugin_delegate.cc
parentf574c40f701805a0da0129915a9dc691cd79d355 (diff)
downloadchromium_src-2432c058351cb5b4da6b1c5a9c756d1758c9ee5d.zip
chromium_src-2432c058351cb5b4da6b1c5a9c756d1758c9ee5d.tar.gz
chromium_src-2432c058351cb5b4da6b1c5a9c756d1758c9ee5d.tar.bz2
The refactors PPB_Flash_File_ModuleLocal/FileRef to the new resource model. Calls for both these interfaces are now made directly to the browser. This removes the in-process implementation for these interfaces also (as they are flash-only). Tests are added for PPB_Flash_File_ModuleLocal.
Review URL: https://codereview.chromium.org/11359097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/mock_plugin_delegate.cc')
-rw-r--r--webkit/plugins/ppapi/mock_plugin_delegate.cc41
1 files changed, 0 insertions, 41 deletions
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.cc b/webkit/plugins/ppapi/mock_plugin_delegate.cc
index 54947e7..eec48da 100644
--- a/webkit/plugins/ppapi/mock_plugin_delegate.cc
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.cc
@@ -220,47 +220,6 @@ void MockPluginDelegate::WillUpdateFile(const GURL& file_path) {
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) {