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

Unified Diff: ppapi/proxy/ppb_flash_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_flash_proxy.cc
diff --git a/ppapi/proxy/ppb_flash_proxy.cc b/ppapi/proxy/ppb_flash_proxy.cc
index bbe7018b2fe63085ad1b4d950ba41ff4ef874f60..725af5f14d08cc0244d57e4b1f55c1a13593d5fe 100644
--- a/ppapi/proxy/ppb_flash_proxy.cc
+++ b/ppapi/proxy/ppb_flash_proxy.cc
@@ -20,10 +20,7 @@
#include "ppapi/proxy/serialized_var.h"
#include "ppapi/shared_impl/resource.h"
-using ppapi::HostResource;
-using ppapi::Resource;
-
-namespace pp {
+namespace ppapi {
namespace proxy {
namespace {
@@ -156,8 +153,7 @@ PP_Var GetCommandLineArgs(PP_Module pp_module) {
static_cast<const PPB_Var_Deprecated*>(
PluginDispatcher::GetInterfaceFromDispatcher(
PPB_VAR_DEPRECATED_INTERFACE));
- std::string args =
- pp::proxy::ProxyModule::GetInstance()->GetFlashCommandLineArgs();
+ std::string args = ProxyModule::GetInstance()->GetFlashCommandLineArgs();
return var_deprecated->VarFromUtf8(pp_module, args.data(), args.length());
}
@@ -232,9 +228,8 @@ void PPB_Flash_Proxy::OnMsgSetInstanceAlwaysOnTop(
ppb_flash_target()->SetInstanceAlwaysOnTop(instance, on_top);
}
-void PPB_Flash_Proxy::OnMsgDrawGlyphs(
- const pp::proxy::PPBFlash_DrawGlyphs_Params& params,
- PP_Bool* result) {
+void PPB_Flash_Proxy::OnMsgDrawGlyphs(const PPBFlash_DrawGlyphs_Params& params,
+ PP_Bool* result) {
*result = PP_FALSE;
PP_FontDescription_Dev font_desc;
@@ -292,4 +287,4 @@ void PPB_Flash_Proxy::OnMsgGetLocalTimeZoneOffset(PP_Instance instance,
}
} // namespace proxy
-} // namespace pp
+} // namespace ppapi

Powered by Google App Engine
This is Rietveld 408576698