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

Unified Diff: ppapi/proxy/ppb_buffer_proxy.h

Issue 7655002: Convert the pp::proxy namespace to the ppapi::proxy namespace. (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 9d6cfbe0df08db19d8479ad3c6b60e6c8e1a828c..2c0b875a2735b3ecae1fee45c1709d9b6b43fdff 100644
--- a/ppapi/proxy/ppb_buffer_proxy.h
+++ b/ppapi/proxy/ppb_buffer_proxy.h
@@ -14,22 +14,20 @@
struct PPB_Buffer_Dev;
namespace ppapi {
+
class HostResource;
-}
-namespace pp {
namespace proxy {
-class Buffer : public ppapi::thunk::PPB_Buffer_API,
- public ppapi::Resource {
+class Buffer : public thunk::PPB_Buffer_API, public Resource {
public:
- Buffer(const ppapi::HostResource& resource,
+ Buffer(const HostResource& resource,
const base::SharedMemoryHandle& shm_handle,
uint32_t size);
virtual ~Buffer();
// Resource overrides.
- virtual ppapi::thunk::PPB_Buffer_API* AsPPB_Buffer_API() OVERRIDE;
+ virtual thunk::PPB_Buffer_API* AsPPB_Buffer_API() OVERRIDE;
// PPB_Buffer_API implementation.
virtual PP_Bool Describe(uint32_t* size_in_bytes) OVERRIDE;
@@ -55,7 +53,7 @@ class PPB_Buffer_Proxy : public InterfaceProxy {
static PP_Resource CreateProxyResource(PP_Instance instance,
uint32_t size);
- static PP_Resource AddProxyResource(const ppapi::HostResource& resource,
+ static PP_Resource AddProxyResource(const HostResource& resource,
base::SharedMemoryHandle shm_handle,
uint32_t size);
@@ -70,11 +68,11 @@ class PPB_Buffer_Proxy : public InterfaceProxy {
// Message handlers.
void OnMsgCreate(PP_Instance instance,
uint32_t size,
- ppapi::HostResource* result_resource,
+ HostResource* result_resource,
base::SharedMemoryHandle* result_shm_handle);
};
} // namespace proxy
-} // namespace pp
+} // namespace ppapi
#endif // PPAPI_PPB_BUFFER_PROXY_H_

Powered by Google App Engine
This is Rietveld 408576698