| 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 0668f0d1211f0c91fbb404685d8570745e0373fe..1c19895e818a9cfc32de54cd46f51fc004f12848 100644
|
| --- a/net/test/embedded_test_server/http_connection.h
|
| +++ b/net/test/embedded_test_server/http_connection.h
|
| @@ -13,6 +13,7 @@
|
| #include "net/base/completion_callback.h"
|
| #include "net/base/io_buffer.h"
|
| #include "net/test/embedded_test_server/http_request.h"
|
| +#include "net/test/embedded_test_server/http_response.h"
|
|
|
| namespace net {
|
|
|
| @@ -37,9 +38,8 @@ class HttpConnection {
|
| const HandleRequestCallback& callback);
|
| ~HttpConnection();
|
|
|
| - // Sends the HTTP response to the client.
|
| - void SendResponse(scoped_ptr<HttpResponse> response,
|
| - const base::Closure& callback);
|
| + // Sends the |response_string| to the client and calls |callback| once done.
|
| + void SendResponse(std::string response_string, SendDoneCallback callback);
|
|
|
| // Accepts raw chunk of data from the client. Internally, passes it to the
|
| // HttpRequestParser class. If a request is parsed, then |callback_| is
|
|
|