Index: net/server/http_connection.h |
diff --git a/net/server/http_connection.h b/net/server/http_connection.h |
index b0e37663d4f61b696ced07c31d9b9cfdfb11b6f2..17faa46eb6b77304085635364f4a73b65c3c7821 100644 |
--- a/net/server/http_connection.h |
+++ b/net/server/http_connection.h |
@@ -8,7 +8,6 @@ |
#include <string> |
#include "base/basictypes.h" |
-#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "net/http/http_status_code.h" |
@@ -36,12 +35,10 @@ class HttpConnection { |
friend class HttpServer; |
static int last_id_; |
- HttpConnection(HttpServer* server, StreamListenSocket* sock); |
- |
- void DetachSocket(); |
+ HttpConnection(HttpServer* server, scoped_ptr<StreamListenSocket> sock); |
HttpServer* server_; |
- scoped_refptr<StreamListenSocket> socket_; |
+ scoped_ptr<StreamListenSocket> socket_; |
scoped_ptr<WebSocket> web_socket_; |
std::string recv_data_; |
int id_; |