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