Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: webkit/plugins/ppapi/ppb_file_system_impl.h

Issue 7669055: Remove webkit::ppapi::Resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nulls auditeed Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppb_file_ref_impl.cc ('k') | webkit/plugins/ppapi/ppb_file_system_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « webkit/plugins/ppapi/ppb_file_ref_impl.cc ('k') | webkit/plugins/ppapi/ppb_file_system_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698