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

Unified Diff: ppapi/proxy/plugin_resource.h

Issue 7623018: Move host resource from the proxy to the shared_impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: ppapi/proxy/plugin_resource.h
diff --git a/ppapi/proxy/plugin_resource.h b/ppapi/proxy/plugin_resource.h
index 10dbf72b8d082cb6ae07d1ff0bac1dcbe0895179..298b4cd2cf7081c1072e5731c2426bf86771ad73 100644
--- a/ppapi/proxy/plugin_resource.h
+++ b/ppapi/proxy/plugin_resource.h
@@ -7,9 +7,9 @@
#include "base/basictypes.h"
#include "ppapi/c/pp_instance.h"
-#include "ppapi/proxy/host_resource.h"
#include "ppapi/proxy/plugin_dispatcher.h"
#include "ppapi/proxy/plugin_resource_tracker.h"
+#include "ppapi/shared_impl/host_resource.h"
#include "ppapi/shared_impl/resource_object_base.h"
namespace pp {
@@ -17,13 +17,13 @@ namespace proxy {
class PluginResource : public ::ppapi::ResourceObjectBase {
public:
- PluginResource(const HostResource& resource);
+ PluginResource(const ppapi::HostResource& resource);
virtual ~PluginResource();
PP_Instance instance() const { return host_resource_.instance(); }
// Returns the host resource ID for sending to the host process.
- const HostResource& host_resource() const {
+ const ppapi::HostResource& host_resource() const {
return host_resource_;
}
@@ -34,7 +34,7 @@ class PluginResource : public ::ppapi::ResourceObjectBase {
// plugin we'll remap the resource IDs so we can have many host processes
// each independently generating resources (which may conflict) but the IDs
// in the plugin will all be unique.
- HostResource host_resource_;
+ ppapi::HostResource host_resource_;
DISALLOW_COPY_AND_ASSIGN(PluginResource);
};

Powered by Google App Engine
This is Rietveld 408576698