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

Unified Diff: net/server/http_server.h

Issue 693943003: Update from https://crrev.com/302630 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/quic/test_tools/quic_test_utils.h ('k') | net/server/http_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/server/http_server.h
diff --git a/net/server/http_server.h b/net/server/http_server.h
index 47214ab158ec639436894790579d19ced2bb84c7..89a4b45f3254073f472c4cb1204080d1d9d8cb50 100644
--- a/net/server/http_server.h
+++ b/net/server/http_server.h
@@ -40,6 +40,10 @@ class HttpServer {
virtual void OnClose(int connection_id) = 0;
};
+ // Instantiates a http server with |server_socket| which already started
+ // listening, but not accepting. This constructor schedules accepting
+ // connections asynchronously in case when |delegate| is not ready to get
+ // callbacks yet.
HttpServer(scoped_ptr<ServerSocket> server_socket,
HttpServer::Delegate* delegate);
~HttpServer();
« no previous file with comments | « net/quic/test_tools/quic_test_utils.h ('k') | net/server/http_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698