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

Unified Diff: net/socket/tcp_listen_socket.cc

Issue 13812005: net: move socket files from net/base to net/socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort gyp Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/tcp_listen_socket.h ('k') | net/socket/tcp_listen_socket_unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/tcp_listen_socket.cc
diff --git a/net/base/tcp_listen_socket.cc b/net/socket/tcp_listen_socket.cc
similarity index 98%
rename from net/base/tcp_listen_socket.cc
rename to net/socket/tcp_listen_socket.cc
index c264eba470c5851643d9223a3cf80056da0472cf..9484cb944c13eac4eb5c962cc10389e2d471be29 100644
--- a/net/base/tcp_listen_socket.cc
+++ b/net/socket/tcp_listen_socket.cc
@@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "net/base/tcp_listen_socket.h"
+#include "net/socket/tcp_listen_socket.h"
#if defined(OS_WIN)
// winsock2.h must be included first in order to ensure it is included before
// windows.h.
#include <winsock2.h>
#elif defined(OS_POSIX)
+#include <arpa/inet.h>
#include <errno.h>
-#include <sys/types.h>
-#include <sys/socket.h>
#include <netinet/in.h>
-#include <arpa/inet.h>
+#include <sys/socket.h>
+#include <sys/types.h>
#include "net/base/net_errors.h"
#endif
« no previous file with comments | « net/socket/tcp_listen_socket.h ('k') | net/socket/tcp_listen_socket_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698