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

Unified Diff: ppapi/proxy/ppb_buffer_proxy.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/ppb_buffer_proxy.h
diff --git a/ppapi/proxy/ppb_buffer_proxy.h b/ppapi/proxy/ppb_buffer_proxy.h
index 18ddafcc1a5d901c554155dbbba336b1a11e7dd8..02e47f883fe25648be1faf3803a588f0f5bc83c2 100644
--- a/ppapi/proxy/ppb_buffer_proxy.h
+++ b/ppapi/proxy/ppb_buffer_proxy.h
@@ -13,15 +13,17 @@
struct PPB_Buffer_Dev;
+namespace ppapi {
+class HostResource;
+}
+
namespace pp {
namespace proxy {
-class HostResource;
-
class Buffer : public ppapi::thunk::PPB_Buffer_API,
public PluginResource {
public:
- Buffer(const HostResource& resource,
+ Buffer(const ppapi::HostResource& resource,
const base::SharedMemoryHandle& shm_handle,
uint32_t size);
virtual ~Buffer();
@@ -53,7 +55,7 @@ class PPB_Buffer_Proxy : public InterfaceProxy {
static PP_Resource CreateProxyResource(PP_Instance instance,
uint32_t size);
- static PP_Resource AddProxyResource(const HostResource& resource,
+ static PP_Resource AddProxyResource(const ppapi::HostResource& resource,
base::SharedMemoryHandle shm_handle,
uint32_t size);
@@ -68,7 +70,7 @@ class PPB_Buffer_Proxy : public InterfaceProxy {
// Message handlers.
void OnMsgCreate(PP_Instance instance,
uint32_t size,
- HostResource* result_resource,
+ ppapi::HostResource* result_resource,
base::SharedMemoryHandle* result_shm_handle);
};

Powered by Google App Engine
This is Rietveld 408576698