diff options
author | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-23 17:05:31 +0000 |
---|---|---|
committer | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-23 17:05:31 +0000 |
commit | 8bf9ce70928f0aa18cfb64e8a965a1c0c142d41a (patch) | |
tree | 2ddb61e88770d2bf433597b1844a224fa5eb65b7 /net/server/http_connection.h | |
parent | eeb34acdcb336c7052cef2014467baa716de89c8 (diff) | |
download | chromium_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_connection.h')
-rw-r--r-- | net/server/http_connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/server/http_connection.h b/net/server/http_connection.h index b292559..74cdcab 100644 --- a/net/server/http_connection.h +++ b/net/server/http_connection.h @@ -20,6 +20,8 @@ class WebSocket; class HttpConnection { public: + ~HttpConnection(); + void Send(const std::string& data); void Send(const char* bytes, int len); void Send200(const std::string& data, const std::string& content_type); @@ -36,7 +38,6 @@ class HttpConnection { static int last_id_; HttpConnection(HttpServer* server, StreamListenSocket* sock); - ~HttpConnection(); void DetachSocket(); |