OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_SOCKET_TCP_SERVER_SOCKET_H_ |
| 6 #define NET_SOCKET_TCP_SERVER_SOCKET_H_ |
| 7 |
| 8 #include "build/build_config.h" |
| 9 |
| 10 #if defined(OS_WIN) |
| 11 #include "net/socket/tcp_server_socket_win.h" |
| 12 #elif defined(OS_POSIX) |
| 13 #include "net/socket/tcp_server_socket_libevent.h" |
| 14 #endif |
| 15 |
| 16 namespace net { |
| 17 |
| 18 #if defined(OS_WIN) |
| 19 typedef TCPServerSocketWin TCPServerSocket; |
| 20 #elif defined(OS_POSIX) |
| 21 typedef TCPServerSocketLibevent TCPServerSocket; |
| 22 #endif |
| 23 |
| 24 } // namespace net |
| 25 |
| 26 #endif // NET_SOCKET_TCP_SERVER_SOCKET_H_ |
OLD | NEW |