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

Unified Diff: net/tools/fetch/http_listen_socket.cc

Issue 10161005: Add DefaultListenSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix year in license header Created 8 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
Index: net/tools/fetch/http_listen_socket.cc
diff --git a/net/tools/fetch/http_listen_socket.cc b/net/tools/fetch/http_listen_socket.cc
index 60c6f9403997e9ba523e4351556cb9fccbd95d43..240b4dcd6a57937abd562a8ab27ac36a167b4d77 100644
--- a/net/tools/fetch/http_listen_socket.cc
+++ b/net/tools/fetch/http_listen_socket.cc
@@ -28,7 +28,7 @@ void HttpListenSocket::Listen() {
net::TCPListenSocket::Listen();
}
-void HttpListenSocket::Accept() {
+void HttpListenSocket::AcceptInternal() {
SOCKET conn = net::TCPListenSocket::Accept(socket_);
DCHECK_NE(conn, net::TCPListenSocket::kInvalidSocket);
if (conn == net::TCPListenSocket::kInvalidSocket) {
« net/tools/fetch/http_listen_socket.h ('K') | « net/tools/fetch/http_listen_socket.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698