diff options
Diffstat (limited to 'webkit/plugins/ppapi/plugin_delegate.h')
-rw-r--r-- | webkit/plugins/ppapi/plugin_delegate.h | 34 |
1 files changed, 14 insertions, 20 deletions
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h index 0db111d..c9bf986 100644 --- a/webkit/plugins/ppapi/plugin_delegate.h +++ b/webkit/plugins/ppapi/plugin_delegate.h @@ -25,10 +25,10 @@ #include "ppapi/c/pp_instance.h" #include "ppapi/c/pp_resource.h" #include "ppapi/c/pp_stdint.h" -#include "ppapi/shared_impl/dir_contents.h" #include "ui/gfx/size.h" #include "webkit/fileapi/file_system_types.h" #include "webkit/glue/clipboard_client.h" +#include "webkit/plugins/ppapi/dir_contents.h" #include "webkit/quota/quota_types.h" class GURL; @@ -55,7 +55,6 @@ class CommandBuffer; } namespace ppapi { -class PepperFilePath; class PPB_HostResolver_Shared; class PPB_X509Certificate_Fields; struct DeviceRefData; @@ -87,6 +86,7 @@ namespace ppapi { class FileIO; class FullscreenContainer; +class PepperFilePath; class PluginInstance; class PluginModule; class PPB_Broker_Impl; @@ -452,24 +452,18 @@ class PluginDelegate { virtual void WillUpdateFile(const GURL& file_path) = 0; virtual void DidUpdateFile(const GURL& file_path, int64_t delta) = 0; - virtual base::PlatformFileError OpenFile( - const ::ppapi::PepperFilePath& path, - int flags, - base::PlatformFile* file) = 0; - virtual base::PlatformFileError RenameFile( - const ::ppapi::PepperFilePath& from_path, - const ::ppapi::PepperFilePath& to_path) = 0; - virtual base::PlatformFileError DeleteFileOrDir( - const ::ppapi::PepperFilePath& path, - bool recursive) = 0; - virtual base::PlatformFileError CreateDir( - const ::ppapi::PepperFilePath& path) = 0; - virtual base::PlatformFileError QueryFile( - const ::ppapi::PepperFilePath& path, - base::PlatformFileInfo* info) = 0; - virtual base::PlatformFileError GetDirContents( - const ::ppapi::PepperFilePath& path, - ::ppapi::DirContents* contents) = 0; + virtual base::PlatformFileError OpenFile(const PepperFilePath& path, + int flags, + base::PlatformFile* file) = 0; + virtual base::PlatformFileError RenameFile(const PepperFilePath& from_path, + const PepperFilePath& to_path) = 0; + virtual base::PlatformFileError DeleteFileOrDir(const PepperFilePath& path, + bool recursive) = 0; + virtual base::PlatformFileError CreateDir(const PepperFilePath& path) = 0; + virtual base::PlatformFileError QueryFile(const PepperFilePath& path, + base::PlatformFileInfo* info) = 0; + virtual base::PlatformFileError GetDirContents(const PepperFilePath& path, + DirContents* contents) = 0; // Synchronously returns the platform file path for a filesystem URL. virtual void SyncGetFileSystemPlatformPath(const GURL& url, |