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

Unified Diff: ppapi/proxy/resource_creation_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/resource_creation_proxy.h
diff --git a/ppapi/proxy/resource_creation_proxy.h b/ppapi/proxy/resource_creation_proxy.h
index 2dacd6ccf9a71ea86b50f9ba8a3fcfcff54f6cb6..bac5088f356dde95ac141770ea2e9d9056439af1 100644
--- a/ppapi/proxy/resource_creation_proxy.h
+++ b/ppapi/proxy/resource_creation_proxy.h
@@ -18,23 +18,22 @@
struct PP_Size;
namespace ppapi {
+
class HostResource;
-}
-namespace pp {
namespace proxy {
class Dispatcher;
-class ResourceCreationProxy : public ::ppapi::FunctionGroupBase,
- public ::ppapi::thunk::ResourceCreationAPI,
- public ::IPC::Channel::Listener,
+class ResourceCreationProxy : public FunctionGroupBase,
+ public thunk::ResourceCreationAPI,
+ public IPC::Channel::Listener,
public IPC::Message::Sender {
public:
explicit ResourceCreationProxy(Dispatcher* dispatcher);
virtual ~ResourceCreationProxy();
- virtual ::ppapi::thunk::ResourceCreationAPI* AsResourceCreationAPI() OVERRIDE;
+ virtual thunk::ResourceCreationAPI* AsResourceCreationAPI() OVERRIDE;
// ResourceCreationAPI (called in plugin).
virtual PP_Resource CreateAudio(PP_Instance instance,
@@ -135,16 +134,16 @@ class ResourceCreationProxy : public ::ppapi::FunctionGroupBase,
void OnMsgCreateAudio(PP_Instance instance,
int32_t sample_rate,
uint32_t sample_frame_count,
- ppapi::HostResource* result);
+ HostResource* result);
void OnMsgCreateGraphics2D(PP_Instance instance,
const PP_Size& size,
PP_Bool is_always_opaque,
- ppapi::HostResource* result);
+ HostResource* result);
void OnMsgCreateImageData(PP_Instance instance,
int32_t format,
const PP_Size& size,
PP_Bool init_to_zero,
- ppapi::HostResource* result,
+ HostResource* result,
std::string* image_data_desc,
ImageHandle* result_image_handle);
@@ -154,6 +153,6 @@ class ResourceCreationProxy : public ::ppapi::FunctionGroupBase,
};
} // namespace proxy
-} // namespace pp
+} // namespace ppapi
#endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_

Powered by Google App Engine
This is Rietveld 408576698