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

Unified Diff: content/renderer/shared_worker/embedded_shared_worker_stub.cc

Issue 189413014: Send WorkerHostMsg_WorkerConnected in EmbeddedSharedWorkerStub::OnConnect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/shared_worker/embedded_shared_worker_stub.cc
diff --git a/content/renderer/shared_worker/embedded_shared_worker_stub.cc b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
index b3066a8f6e676f0bfd7fda640e12e3fc76ea9fd1..abbfd5ecb8a27f930179f0d8552c5e9e8059f9cc 100644
--- a/content/renderer/shared_worker/embedded_shared_worker_stub.cc
+++ b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
@@ -142,6 +142,8 @@ void EmbeddedSharedWorkerStub::OnConnect(int sent_message_port_id,
base::MessageLoopProxy::current().get());
if (runing_) {
impl_->connect(channel);
+ Send(new WorkerHostMsg_WorkerConnected(channel->message_port_id(),
+ route_id_));
kinuko 2014/03/10 13:26:02 Should we add ConnectToChannel() method which alwa
horo 2014/03/11 01:14:12 Done.
} else {
// If two documents try to load a SharedWorker at the same time, the
// WorkerMsg_Connect for one of the documents can come in before the
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698