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

Unified Diff: ppapi/proxy/ppb_audio_config_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_config_proxy.cc
diff --git a/ppapi/proxy/ppb_audio_config_proxy.cc b/ppapi/proxy/ppb_audio_config_proxy.cc
index eeb49076702468054a4e05d10316ead343d39a3a..5f063e32d80bf1adaec7bffd11f304237a5e0981 100644
--- a/ppapi/proxy/ppb_audio_config_proxy.cc
+++ b/ppapi/proxy/ppb_audio_config_proxy.cc
@@ -10,21 +10,18 @@
#include "ppapi/shared_impl/audio_config_impl.h"
#include "ppapi/thunk/thunk.h"
-using ppapi::HostResource;
-using ppapi::Resource;
-
-namespace pp {
+namespace ppapi {
namespace proxy {
// The implementation is actually in AudioConfigImpl.
-class AudioConfig : public Resource, public ppapi::AudioConfigImpl {
+class AudioConfig : public Resource, public AudioConfigImpl {
public:
// Note that you must call Init (on AudioConfigImpl) before using this class.
AudioConfig(const HostResource& resource);
virtual ~AudioConfig();
// Resource overrides.
- virtual ::ppapi::thunk::PPB_AudioConfig_API* AsPPB_AudioConfig_API() OVERRIDE;
+ virtual thunk::PPB_AudioConfig_API* AsPPB_AudioConfig_API() OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(AudioConfig);
@@ -36,7 +33,7 @@ AudioConfig::AudioConfig(const HostResource& resource) : Resource(resource) {
AudioConfig::~AudioConfig() {
}
-::ppapi::thunk::PPB_AudioConfig_API* AudioConfig::AsPPB_AudioConfig_API() {
+thunk::PPB_AudioConfig_API* AudioConfig::AsPPB_AudioConfig_API() {
return this;
}
@@ -60,7 +57,7 @@ PPB_AudioConfig_Proxy::~PPB_AudioConfig_Proxy() {
// static
const InterfaceProxy::Info* PPB_AudioConfig_Proxy::GetInfo() {
static const Info info = {
- ::ppapi::thunk::GetPPB_AudioConfig_Thunk(),
+ thunk::GetPPB_AudioConfig_Thunk(),
PPB_AUDIO_CONFIG_INTERFACE,
INTERFACE_ID_PPB_AUDIO_CONFIG,
false,
@@ -88,4 +85,4 @@ bool PPB_AudioConfig_Proxy::OnMessageReceived(const IPC::Message& msg) {
}
} // namespace proxy
-} // namespace pp
+} // namespace ppapi

Powered by Google App Engine
This is Rietveld 408576698