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

Unified Diff: ppapi/proxy/ppb_buffer_proxy.cc

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.cc
diff --git a/ppapi/proxy/ppb_buffer_proxy.cc b/ppapi/proxy/ppb_buffer_proxy.cc
index 9598a4f2e94e5412223e0548b83942b18e6ee1f7..d9092fe4f688acfffcebc8332c471989658608f7 100644
--- a/ppapi/proxy/ppb_buffer_proxy.cc
+++ b/ppapi/proxy/ppb_buffer_proxy.cc
@@ -19,10 +19,7 @@
#include "ppapi/thunk/ppb_buffer_trusted_api.h"
#include "ppapi/thunk/thunk.h"
-using ppapi::HostResource;
-using ppapi::Resource;
-
-namespace pp {
+namespace ppapi {
namespace proxy {
namespace {
@@ -48,7 +45,7 @@ Buffer::~Buffer() {
Unmap();
}
-ppapi::thunk::PPB_Buffer_API* Buffer::AsPPB_Buffer_API() {
+thunk::PPB_Buffer_API* Buffer::AsPPB_Buffer_API() {
return this;
}
@@ -83,7 +80,7 @@ PPB_Buffer_Proxy::~PPB_Buffer_Proxy() {
// static
const InterfaceProxy::Info* PPB_Buffer_Proxy::GetInfo() {
static const Info info = {
- ppapi::thunk::GetPPB_Buffer_Thunk(),
+ thunk::GetPPB_Buffer_Thunk(),
PPB_BUFFER_DEV_INTERFACE,
INTERFACE_ID_PPB_BUFFER,
false,
@@ -142,8 +139,8 @@ void PPB_Buffer_Proxy::OnMsgCreate(
ppb_buffer_target()->Create(instance, size);
if (local_buffer_resource == 0)
return;
- ::ppapi::thunk::EnterResourceNoLock< ::ppapi::thunk::PPB_BufferTrusted_API>
- trusted_buffer(local_buffer_resource, false);
+ thunk::EnterResourceNoLock<thunk::PPB_BufferTrusted_API> trusted_buffer(
+ local_buffer_resource, false);
if (trusted_buffer.failed())
return;
int local_fd;
@@ -166,4 +163,4 @@ void PPB_Buffer_Proxy::OnMsgCreate(
}
} // namespace proxy
-} // namespace pp
+} // namespace ppapi

Powered by Google App Engine
This is Rietveld 408576698