Index: webkit/plugins/ppapi/plugin_delegate.h |
=================================================================== |
--- webkit/plugins/ppapi/plugin_delegate.h (revision 140544) |
+++ webkit/plugins/ppapi/plugin_delegate.h (working copy) |
@@ -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,6 +55,7 @@ |
} |
namespace ppapi { |
+class PepperFilePath; |
class PPB_HostResolver_Shared; |
class PPB_X509Certificate_Fields; |
struct DeviceRefData; |
@@ -86,7 +87,6 @@ |
class FileIO; |
class FullscreenContainer; |
-class PepperFilePath; |
class PluginInstance; |
class PluginModule; |
class PPB_Broker_Impl; |
@@ -456,18 +456,24 @@ |
virtual void WillUpdateFile(const GURL& file_path) = 0; |
virtual void DidUpdateFile(const GURL& file_path, int64_t delta) = 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; |
+ 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; |
// Synchronously returns the platform file path for a filesystem URL. |
virtual void SyncGetFileSystemPlatformPath(const GURL& url, |