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

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

Issue 8890018: Update Java Bridge to use its own thread in the browser process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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.h
diff --git a/content/browser/renderer_host/java/java_bridge_dispatcher_host.h b/content/browser/renderer_host/java/java_bridge_dispatcher_host.h
index 6f574aea3d6c54c579d27d9e0f87c5785a4f221b..f9c4df572d1b0208e673fa21e5e15bd424da4d78 100644
--- a/content/browser/renderer_host/java/java_bridge_dispatcher_host.h
+++ b/content/browser/renderer_host/java/java_bridge_dispatcher_host.h
@@ -19,8 +19,8 @@ struct _NPVariant;
typedef _NPVariant NPVariant;
// This class handles injecting Java objects into a single RenderView. The Java
-// object itself lives on the browser's WEBKIT thread, while a proxy object is
-// created in the renderer. An instance of this class exists for each
+// object itself lives on the browser's JAVA_BRIDGE thread, while a proxy
+// object is created in the renderer. An instance of this class exists for each
// RenderViewHost.
class JavaBridgeDispatcherHost :
public RenderViewHostObserver,
@@ -35,9 +35,9 @@ class JavaBridgeDispatcherHost :
// using |name|. The proxy object remains bound until the next time the
// window object is cleared after a call to RemoveNamedObject() or
// AddNamedObject() with the same name. The proxy object proxies calls back
- // to |object|, which is manipulated on the WEBKIT thread. This class holds a
- // reference to |object| for the time that the proxy object is bound to the
- // window object.
+ // to |object|, which is manipulated on the JAVA_BRIDGE thread. This class
+ // holds a reference to |object| for the time that the proxy object is bound
+ // to the window object.
void AddNamedObject(const string16& name, NPObject* object);
void RemoveNamedObject(const string16& name);

Powered by Google App Engine
This is Rietveld 408576698