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

Unified Diff: content/browser/renderer_host/java/java_bridge_dispatcher_host.cc

Issue 11343017: Move remaining files in content\browser\renderer_host to content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 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: content/browser/renderer_host/java/java_bridge_dispatcher_host.cc
===================================================================
--- content/browser/renderer_host/java/java_bridge_dispatcher_host.cc (revision 164665)
+++ content/browser/renderer_host/java/java_bridge_dispatcher_host.cc (working copy)
@@ -17,10 +17,7 @@
#include "content/public/browser/render_process_host.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h"
-using content::BrowserThread;
-using content::NPObjectStub;
-using content::NPVariant_Param;
-using content::RenderViewHost;
+namespace content {
namespace {
class JavaBridgeThread : public base::Thread {
@@ -116,7 +113,7 @@
// Create an NPVariantParam suitable for serialization over IPC from our
// NPVariant. See CreateNPVariantParam() in npobject_utils.
- param->type = content::NPVARIANT_PARAM_SENDER_OBJECT_ROUTING_ID;
+ param->type = NPVARIANT_PARAM_SENDER_OBJECT_ROUTING_ID;
int route_id = JavaBridgeChannelHost::ThreadsafeGenerateRouteID();
param->npobject_routing_id = route_id;
@@ -147,3 +144,5 @@
// in CreateNPVariantParam().
WebKit::WebBindings::releaseObject(object);
}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698