| Index: net/test/embedded_test_server/http_connection.h
|
| diff --git a/net/test/embedded_test_server/http_connection.h b/net/test/embedded_test_server/http_connection.h
|
| index da9353404c6c840498ba9713707c07b8f2f2bdae..870d12269dd10253f5a28330e6f2eaf0ecb0b010 100644
|
| --- a/net/test/embedded_test_server/http_connection.h
|
| +++ b/net/test/embedded_test_server/http_connection.h
|
| @@ -7,7 +7,6 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/callback.h"
|
| -#include "base/memory/ref_counted.h"
|
| #include "base/strings/string_piece.h"
|
| #include "net/test/embedded_test_server/http_request.h"
|
|
|
| @@ -30,7 +29,7 @@ typedef base::Callback<void(HttpConnection* connection,
|
| // If a valid request is parsed, then |callback_| is invoked.
|
| class HttpConnection {
|
| public:
|
| - HttpConnection(StreamListenSocket* socket,
|
| + HttpConnection(scoped_ptr<StreamListenSocket> socket,
|
| const HandleRequestCallback& callback);
|
| ~HttpConnection();
|
|
|
| @@ -45,7 +44,7 @@ class HttpConnection {
|
| // called.
|
| void ReceiveData(const base::StringPiece& data);
|
|
|
| - scoped_refptr<StreamListenSocket> socket_;
|
| + scoped_ptr<StreamListenSocket> socket_;
|
| const HandleRequestCallback callback_;
|
| HttpRequestParser request_parser_;
|
|
|
|
|