diff options
Diffstat (limited to 'content/renderer/pepper/pepper_plugin_delegate_impl.cc')
-rw-r--r-- | content/renderer/pepper/pepper_plugin_delegate_impl.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc index 4be4291..630dc78 100644 --- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc +++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc @@ -24,6 +24,7 @@ #include "content/common/fileapi/file_system_dispatcher.h" #include "content/common/fileapi/file_system_messages.h" #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" +#include "content/common/pepper_file_messages.h" #include "content/common/pepper_plugin_registry.h" #include "content/common/pepper_messages.h" #include "content/common/quota_dispatcher.h" @@ -63,9 +64,7 @@ #include "ppapi/c/pp_errors.h" #include "ppapi/c/private/ppb_flash.h" #include "ppapi/proxy/host_dispatcher.h" -#include "ppapi/proxy/pepper_file_messages.h" #include "ppapi/proxy/ppapi_messages.h" -#include "ppapi/shared_impl/file_path.h" #include "ppapi/shared_impl/platform_file.h" #include "ppapi/shared_impl/ppapi_preferences.h" #include "ppapi/shared_impl/ppb_device_ref_shared.h" @@ -83,6 +82,7 @@ #include "ui/gfx/size.h" #include "webkit/fileapi/file_system_callback_dispatcher.h" #include "webkit/plugins/npapi/webplugin.h" +#include "webkit/plugins/ppapi/file_path.h" #include "webkit/plugins/ppapi/ppb_file_io_impl.h" #include "webkit/plugins/ppapi/plugin_module.h" #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" @@ -913,7 +913,7 @@ bool PepperPluginDelegateImpl::AsyncOpenFileSystemURL( } base::PlatformFileError PepperPluginDelegateImpl::OpenFile( - const ppapi::PepperFilePath& path, + const webkit::ppapi::PepperFilePath& path, int flags, base::PlatformFile* file) { IPC::PlatformFileForTransit transit_file; @@ -929,8 +929,8 @@ base::PlatformFileError PepperPluginDelegateImpl::OpenFile( } base::PlatformFileError PepperPluginDelegateImpl::RenameFile( - const ppapi::PepperFilePath& from_path, - const ppapi::PepperFilePath& to_path) { + const webkit::ppapi::PepperFilePath& from_path, + const webkit::ppapi::PepperFilePath& to_path) { base::PlatformFileError error; IPC::Message* msg = new PepperFileMsg_RenameFile(from_path, to_path, &error); if (!render_view_->Send(msg)) @@ -939,7 +939,7 @@ base::PlatformFileError PepperPluginDelegateImpl::RenameFile( } base::PlatformFileError PepperPluginDelegateImpl::DeleteFileOrDir( - const ppapi::PepperFilePath& path, + const webkit::ppapi::PepperFilePath& path, bool recursive) { base::PlatformFileError error; IPC::Message* msg = new PepperFileMsg_DeleteFileOrDir( @@ -950,7 +950,7 @@ base::PlatformFileError PepperPluginDelegateImpl::DeleteFileOrDir( } base::PlatformFileError PepperPluginDelegateImpl::CreateDir( - const ppapi::PepperFilePath& path) { + const webkit::ppapi::PepperFilePath& path) { base::PlatformFileError error; IPC::Message* msg = new PepperFileMsg_CreateDir(path, &error); if (!render_view_->Send(msg)) @@ -959,7 +959,7 @@ base::PlatformFileError PepperPluginDelegateImpl::CreateDir( } base::PlatformFileError PepperPluginDelegateImpl::QueryFile( - const ppapi::PepperFilePath& path, + const webkit::ppapi::PepperFilePath& path, base::PlatformFileInfo* info) { base::PlatformFileError error; IPC::Message* msg = new PepperFileMsg_QueryFile(path, info, &error); @@ -969,8 +969,8 @@ base::PlatformFileError PepperPluginDelegateImpl::QueryFile( } base::PlatformFileError PepperPluginDelegateImpl::GetDirContents( - const ppapi::PepperFilePath& path, - ppapi::DirContents* contents) { + const webkit::ppapi::PepperFilePath& path, + webkit::ppapi::DirContents* contents) { base::PlatformFileError error; IPC::Message* msg = new PepperFileMsg_GetDirContents(path, contents, &error); if (!render_view_->Send(msg)) |