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

Unified Diff: ppapi/proxy/ppb_audio_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_audio_proxy.cc
diff --git a/ppapi/proxy/ppb_audio_proxy.cc b/ppapi/proxy/ppb_audio_proxy.cc
index 52f96ba5fabc94be8a704726d2779be484500160..94c9d1f6231995014a0a4178174ff6005079d394 100644
--- a/ppapi/proxy/ppb_audio_proxy.cc
+++ b/ppapi/proxy/ppb_audio_proxy.cc
@@ -22,16 +22,14 @@
#include "ppapi/thunk/resource_creation_api.h"
#include "ppapi/thunk/thunk.h"
-using ppapi::HostResource;
-using ppapi::Resource;
using ppapi::thunk::EnterResourceNoLock;
using ppapi::thunk::PPB_Audio_API;
using ppapi::thunk::PPB_AudioConfig_API;
-namespace pp {
+namespace ppapi {
namespace proxy {
-class Audio : public Resource, public ppapi::AudioImpl {
+class Audio : public Resource, public AudioImpl {
public:
Audio(const HostResource& audio_id,
PP_Resource config_id,
@@ -149,7 +147,7 @@ PPB_Audio_Proxy::~PPB_Audio_Proxy() {
// static
const InterfaceProxy::Info* PPB_Audio_Proxy::GetInfo() {
static const Info info = {
- ppapi::thunk::GetPPB_Audio_Thunk(),
+ thunk::GetPPB_Audio_Thunk(),
PPB_AUDIO_INTERFACE,
INTERFACE_ID_PPB_AUDIO,
false,
@@ -201,8 +199,8 @@ void PPB_Audio_Proxy::OnMsgCreate(PP_Instance instance_id,
int32_t sample_rate,
uint32_t sample_frame_count,
HostResource* result) {
- ::ppapi::thunk::EnterFunction< ::ppapi::thunk::ResourceCreationAPI>
- resource_creation(instance_id, true);
+ thunk::EnterFunction<thunk::ResourceCreationAPI> resource_creation(
+ instance_id, true);
if (resource_creation.failed())
return;
@@ -342,4 +340,4 @@ int32_t PPB_Audio_Proxy::GetAudioConnectedHandles(
}
} // namespace proxy
-} // namespace pp
+} // namespace ppapi

Powered by Google App Engine
This is Rietveld 408576698