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(); |