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

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

Issue 10161005: Add DefaultListenSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build on Windows Created 8 years, 7 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/tools/fetch/http_server.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/fetch/http_session.cc
diff --git a/net/tools/fetch/http_session.cc b/net/tools/fetch/http_session.cc
index c3b1d2ca309b382e1d8d841641073af42c302320..3bbc6f007515bab1d23a5efa64bdf5efb9ec5473 100644
--- a/net/tools/fetch/http_session.cc
+++ b/net/tools/fetch/http_session.cc
@@ -7,7 +7,7 @@
HttpSession::HttpSession(const std::string& ip, int port)
: ALLOW_THIS_IN_INITIALIZER_LIST(
- socket_(HttpListenSocket::Listen(ip, port, this))) {
+ socket_(HttpListenSocket::CreateAndListen(ip, port, this))) {
}
HttpSession::~HttpSession() {
« no previous file with comments | « net/tools/fetch/http_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698