| Index: webkit/plugins/ppapi/ppb_file_system_impl.h
|
| diff --git a/webkit/plugins/ppapi/ppb_file_system_impl.h b/webkit/plugins/ppapi/ppb_file_system_impl.h
|
| index 66b5ff2877d8bca73824adb12ebaa6afcdfa62aa..0f4156142e677d4dcc157e4a22f12e59ab613846 100644
|
| --- a/webkit/plugins/ppapi/ppb_file_system_impl.h
|
| +++ b/webkit/plugins/ppapi/ppb_file_system_impl.h
|
| @@ -9,29 +9,24 @@
|
| #include "base/compiler_specific.h"
|
| #include "googleurl/src/gurl.h"
|
| #include "ppapi/c/pp_file_info.h"
|
| +#include "ppapi/shared_impl/resource.h"
|
| #include "ppapi/thunk/ppb_file_system_api.h"
|
| -#include "webkit/plugins/ppapi/resource.h"
|
|
|
| struct PPB_FileSystem;
|
|
|
| namespace webkit {
|
| namespace ppapi {
|
|
|
| -class PluginInstance;
|
| -
|
| -class PPB_FileSystem_Impl : public Resource,
|
| +class PPB_FileSystem_Impl : public ::ppapi::Resource,
|
| public ::ppapi::thunk::PPB_FileSystem_API {
|
| public:
|
| - PPB_FileSystem_Impl(PluginInstance* instance, PP_FileSystemType type);
|
| virtual ~PPB_FileSystem_Impl();
|
|
|
| - static PP_Resource Create(PluginInstance* instance,
|
| - PP_FileSystemType type);
|
| + static PP_Resource Create(PP_Instance instance, PP_FileSystemType type);
|
|
|
| // Resource overrides.
|
| virtual ::ppapi::thunk::PPB_FileSystem_API* AsPPB_FileSystem_API() OVERRIDE;
|
|
|
| - PluginInstance* instance() { return instance_; }
|
| PP_FileSystemType type() const { return type_; }
|
| const GURL& root_url() const { return root_url_; }
|
| void set_root_url(const GURL& root_url) { root_url_ = root_url; }
|
| @@ -44,7 +39,8 @@ class PPB_FileSystem_Impl : public Resource,
|
| virtual PP_FileSystemType GetType() OVERRIDE;
|
|
|
| private:
|
| - PluginInstance* instance_;
|
| + PPB_FileSystem_Impl(PP_Instance instance, PP_FileSystemType type);
|
| +
|
| PP_FileSystemType type_;
|
| GURL root_url_;
|
| bool opened_;
|
|
|