| 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 #ifndef NET_SOCKET_TCP_SERVER_SOCKET_H_ | 5 #ifndef NET_SOCKET_TCP_SERVER_SOCKET_H_ |
| 6 #define NET_SOCKET_TCP_SERVER_SOCKET_H_ | 6 #define NET_SOCKET_TCP_SERVER_SOCKET_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "net/base/ip_endpoint.h" | 11 #include "net/base/ip_endpoint.h" |
| 12 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
| 13 #include "net/log/net_log.h" | 13 #include "net/log/net_log.h" |
| 14 #include "net/socket/server_socket.h" | 14 #include "net/socket/server_socket.h" |
| 15 #include "net/socket/tcp_socket.h" | 15 #include "net/socket/tcp_socket.h" |
| 16 | 16 |
| 17 namespace net { | 17 namespace net { |
| 18 | 18 |
| 19 class NET_EXPORT_PRIVATE TCPServerSocket : public ServerSocket { | 19 class NET_EXPORT_PRIVATE TCPServerSocket : public ServerSocket { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 49 scoped_ptr<TCPSocket> accepted_socket_; | 49 scoped_ptr<TCPSocket> accepted_socket_; |
| 50 IPEndPoint accepted_address_; | 50 IPEndPoint accepted_address_; |
| 51 bool pending_accept_; | 51 bool pending_accept_; |
| 52 | 52 |
| 53 DISALLOW_COPY_AND_ASSIGN(TCPServerSocket); | 53 DISALLOW_COPY_AND_ASSIGN(TCPServerSocket); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace net | 56 } // namespace net |
| 57 | 57 |
| 58 #endif // NET_SOCKET_TCP_SERVER_SOCKET_H_ | 58 #endif // NET_SOCKET_TCP_SERVER_SOCKET_H_ |
| OLD | NEW |