summaryrefslogtreecommitdiffstats
path: root/net/server/http_server.h
diff options
context:
space:
mode:
authorpliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-23 17:05:31 +0000
committerpliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-23 17:05:31 +0000
commit8bf9ce70928f0aa18cfb64e8a965a1c0c142d41a (patch)
tree2ddb61e88770d2bf433597b1844a224fa5eb65b7 /net/server/http_server.h
parenteeb34acdcb336c7052cef2014467baa716de89c8 (diff)
downloadchromium_src-8bf9ce70928f0aa18cfb64e8a965a1c0c142d41a.zip
chromium_src-8bf9ce70928f0aa18cfb64e8a965a1c0c142d41a.tar.gz
chromium_src-8bf9ce70928f0aa18cfb64e8a965a1c0c142d41a.tar.bz2
Decouple DevTools from socket implementation.
This is part of Chrome for Android upstreaming. This will let us use a UnixDomainSocket for DevTools on Android. Note that this CL depends on CL 10161005 (which should land soon). TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/10386048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/server/http_server.h')
-rw-r--r--net/server/http_server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/server/http_server.h b/net/server/http_server.h
index aaf5336..011837d 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(const StreamListenSocketFactory& socket_factory,
+ HttpServer::Delegate* delegate);
void AcceptWebSocket(int connection_id,
const HttpServerRequestInfo& request);