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/browser/renderer_host/pepper_tcp_server_socket.h" | 5 #include "content/browser/renderer_host/pepper/pepper_tcp_server_socket.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "content/browser/renderer_host/pepper_message_filter.h" | 10 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" |
11 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
12 #include "net/base/ip_endpoint.h" | 12 #include "net/base/ip_endpoint.h" |
13 #include "net/base/net_errors.h" | 13 #include "net/base/net_errors.h" |
14 #include "net/socket/tcp_client_socket.h" | 14 #include "net/socket/tcp_client_socket.h" |
15 #include "net/socket/tcp_server_socket.h" | 15 #include "net/socket/tcp_server_socket.h" |
16 #include "ppapi/c/pp_errors.h" | 16 #include "ppapi/c/pp_errors.h" |
17 #include "ppapi/proxy/ppapi_messages.h" | 17 #include "ppapi/proxy/ppapi_messages.h" |
18 #include "ppapi/shared_impl/private/net_address_private_impl.h" | 18 #include "ppapi/shared_impl/private/net_address_private_impl.h" |
19 | 19 |
20 using content::BrowserThread; | 20 using content::BrowserThread; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 local_addr, | 154 local_addr, |
155 remote_addr)); | 155 remote_addr)); |
156 } else { | 156 } else { |
157 SendAcceptACKError(); | 157 SendAcceptACKError(); |
158 } | 158 } |
159 } | 159 } |
160 } | 160 } |
161 | 161 |
162 state_ = LISTENING; | 162 state_ = LISTENING; |
163 } | 163 } |
OLD | NEW |