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

Unified Diff: net/socket/stream_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/stream_listen_socket.h ('k') | net/socket/tcp_listen_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/stream_listen_socket.cc
diff --git a/net/base/stream_listen_socket.cc b/net/socket/stream_listen_socket.cc
similarity index 99%
rename from net/base/stream_listen_socket.cc
rename to net/socket/stream_listen_socket.cc
index 7168df37205f9083e51cb85e8e9f5323db9cf285..ade07db6141d75a15f86e877157dcc41e1e602d0 100644
--- a/net/base/stream_listen_socket.cc
+++ b/net/socket/stream_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/stream_listen_socket.h"
+#include "net/socket/stream_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/stream_listen_socket.h ('k') | net/socket/tcp_listen_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698