OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/p2p/socket_dispatcher.h" | 5 #include "content/renderer/p2p/socket_dispatcher.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
10 #include "content/child/child_process.h" | 10 #include "content/child/child_process.h" |
11 #include "content/common/p2p_messages.h" | 11 #include "content/common/p2p_messages.h" |
12 #include "content/renderer/p2p/host_address_request.h" | 12 #include "content/renderer/p2p/host_address_request.h" |
13 #include "content/renderer/p2p/socket_client.h" | 13 #include "content/renderer/p2p/socket_client.h" |
14 #include "content/renderer/render_view_impl.h" | 14 #include "content/renderer/render_view_impl.h" |
15 #include "webkit/glue/network_list_observer.h" | 15 #include "webkit/glue/network_list_observer.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
19 P2PSocketDispatcher::P2PSocketDispatcher( | 19 P2PSocketDispatcher::P2PSocketDispatcher( |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 // hasn't processed the close message by the time it sends the | 183 // hasn't processed the close message by the time it sends the |
184 // message to the renderer. | 184 // message to the renderer. |
185 VLOG(1) << "Received P2P message for socket that doesn't exist."; | 185 VLOG(1) << "Received P2P message for socket that doesn't exist."; |
186 return NULL; | 186 return NULL; |
187 } | 187 } |
188 | 188 |
189 return client; | 189 return client; |
190 } | 190 } |
191 | 191 |
192 } // namespace content | 192 } // namespace content |
OLD | NEW |