| Index: net/server/http_server.h
|
| diff --git a/net/server/http_server.h b/net/server/http_server.h
|
| index b5ba0378d219c762c20440a7b5b96cd57adaa0c5..f29f0fa4af003aa5cdb2886d4a69f2b56fe95ea8 100644
|
| --- a/net/server/http_server.h
|
| +++ b/net/server/http_server.h
|
| @@ -10,13 +10,13 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "net/http/http_status_code.h"
|
| #include "net/socket/stream_listen_socket.h"
|
|
|
| namespace net {
|
|
|
| class HttpConnection;
|
| class HttpServerRequestInfo;
|
| +class HttpServerResponseInfo;
|
| class IPEndPoint;
|
| class WebSocket;
|
|
|
| @@ -46,10 +46,7 @@ class HttpServer : public StreamListenSocket::Delegate,
|
| void AcceptWebSocket(int connection_id,
|
| const HttpServerRequestInfo& request);
|
| void SendOverWebSocket(int connection_id, const std::string& data);
|
| - void Send(int connection_id,
|
| - HttpStatusCode status_code,
|
| - const std::string& data,
|
| - const std::string& mime_type);
|
| + void Send(int connection_id, const HttpServerResponseInfo& response);
|
| void Send200(int connection_id,
|
| const std::string& data,
|
| const std::string& mime_type);
|
|
|