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

Unified Diff: net/server/http_server.h

Issue 10386048: Decouple DevTools from socket implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Pavel's comments 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
Index: net/server/http_server.h
diff --git a/net/server/http_server.h b/net/server/http_server.h
index aaf5336c66de891539737309f58496994d79373b..1e090929df25c6a480fa1405049d77c92f8409e0 100644
--- a/net/server/http_server.h
+++ b/net/server/http_server.h
@@ -39,7 +39,8 @@ class HttpServer : public StreamListenSocket::Delegate,
virtual ~Delegate() {}
};
- HttpServer(const std::string& host, int port, HttpServer::Delegate* del);
+ HttpServer(HttpServer::Delegate* delegate,
+ StreamListenSocketFactory* socket_factory);
mmenke 2012/05/14 20:45:19 Think the factory could actually be: const Stream
Philippe 2012/05/15 14:39:09 Indeed. For the other places where we take ownersh
void AcceptWebSocket(int connection_id,
const HttpServerRequestInfo& request);

Powered by Google App Engine
This is Rietveld 408576698