| 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/shared_worker/websharedworker_proxy.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "content/child/webmessageportchannel_impl.h" | 9 #include "content/child/webmessageportchannel_impl.h" |
| 10 #include "content/common/view_messages.h" | 10 #include "content/common/view_messages.h" |
| 11 #include "content/common/worker_messages.h" | 11 #include "content/common/worker_messages.h" |
| 12 #include "ipc/message_router.h" | 12 #include "ipc/message_router.h" |
| 13 #include "third_party/WebKit/public/platform/WebURL.h" | 13 #include "third_party/WebKit/public/platform/WebURL.h" |
| 14 #include "third_party/WebKit/public/web/WebSharedWorkerClient.h" | 14 #include "third_party/WebKit/public/web/WebSharedWorkerClient.h" |
| 15 | 15 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 } | 95 } |
| 96 | 96 |
| 97 void WebSharedWorkerProxy::OnWorkerConnected() { | 97 void WebSharedWorkerProxy::OnWorkerConnected() { |
| 98 if (connect_listener_) { | 98 if (connect_listener_) { |
| 99 // This can result in this object being freed. | 99 // This can result in this object being freed. |
| 100 connect_listener_->connected(); | 100 connect_listener_->connected(); |
| 101 } | 101 } |
| 102 } | 102 } |
| 103 | 103 |
| 104 } // namespace content | 104 } // namespace content |
| OLD | NEW |