OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/renderer/websharedworker_proxy.h" | 5 #include "content/renderer/websharedworker_proxy.h" |
6 #include "content/common/child_thread.h" | 6 |
| 7 #include "content/child/child_thread.h" |
| 8 #include "content/child/webmessageportchannel_impl.h" |
7 #include "content/common/view_messages.h" | 9 #include "content/common/view_messages.h" |
8 #include "content/common/webmessageportchannel_impl.h" | |
9 #include "content/common/worker_messages.h" | 10 #include "content/common/worker_messages.h" |
10 #include "third_party/WebKit/public/platform/WebURL.h" | 11 #include "third_party/WebKit/public/platform/WebURL.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSharedWorkerClient
.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSharedWorkerClient
.h" |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 | 15 |
15 WebSharedWorkerProxy::WebSharedWorkerProxy(ChildThread* child_thread, | 16 WebSharedWorkerProxy::WebSharedWorkerProxy(ChildThread* child_thread, |
16 unsigned long long document_id, | 17 unsigned long long document_id, |
17 bool exists, | 18 bool exists, |
18 int route_id, | 19 int route_id, |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 SendQueuedMessages(); | 178 SendQueuedMessages(); |
178 | 179 |
179 // Inform any listener that the pending connect event has been sent | 180 // Inform any listener that the pending connect event has been sent |
180 // (this can result in this object being freed). | 181 // (this can result in this object being freed). |
181 if (connect_listener_) { | 182 if (connect_listener_) { |
182 connect_listener_->connected(); | 183 connect_listener_->connected(); |
183 } | 184 } |
184 } | 185 } |
185 | 186 |
186 } // namespace content | 187 } // namespace content |
OLD | NEW |