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

Unified Diff: content/renderer/websharedworker_proxy.h

Issue 198073003: Remove some content_child dependency from content_common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ffd442cb fix for bots barfing on clang style checks Created 6 years, 9 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
« no previous file with comments | « content/renderer/shared_worker_repository.cc ('k') | content/renderer/websharedworker_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/websharedworker_proxy.h
diff --git a/content/renderer/websharedworker_proxy.h b/content/renderer/websharedworker_proxy.h
index b11138bde2bf732ad4de8ef8fbd7e9cefb3254c5..0a07489ffcbfac33486096d0cc3d229f67142edc 100644
--- a/content/renderer/websharedworker_proxy.h
+++ b/content/renderer/websharedworker_proxy.h
@@ -16,7 +16,7 @@
namespace content {
-class ChildThread;
+class MessageRouter;
// Implementation of the WebSharedWorker APIs. This object is intended to only
// live long enough to allow the caller to send a "connect" event to the worker
@@ -27,7 +27,7 @@ class WebSharedWorkerProxy : public blink::WebSharedWorkerConnector,
private IPC::Listener {
public:
// If the worker not loaded yet, route_id == MSG_ROUTING_NONE
- WebSharedWorkerProxy(ChildThread* child_thread,
+ WebSharedWorkerProxy(MessageRouter* router,
unsigned long long document_id,
int route_id,
int render_frame_route_id);
@@ -67,7 +67,7 @@ class WebSharedWorkerProxy : public blink::WebSharedWorkerConnector,
// The routing id for the RenderFrame that created this worker.
int render_frame_route_id_;
- ChildThread* child_thread_;
+ MessageRouter* const router_;
// ID of our parent document (used to shutdown workers when the parent
// document is detached).
« no previous file with comments | « content/renderer/shared_worker_repository.cc ('k') | content/renderer/websharedworker_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698