Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: net/socket/tcp_server_socket.h

Issue 6820057: Added TCPServerSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/socket/tcp_client_socket_win.cc ('k') | net/socket/tcp_server_socket_libevent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « net/socket/tcp_client_socket_win.cc ('k') | net/socket/tcp_server_socket_libevent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698