Index: net/server/http_connection.h |
diff --git a/net/server/http_connection.h b/net/server/http_connection.h |
index 488d5283f8d93c1d4a8272439d4fb051054fe6e0..b0e37663d4f61b696ced07c31d9b9cfdfb11b6f2 100644 |
--- a/net/server/http_connection.h |
+++ b/net/server/http_connection.h |
@@ -15,6 +15,7 @@ |
namespace net { |
class HttpServer; |
+class HttpServerResponseInfo; |
class StreamListenSocket; |
class WebSocket; |
@@ -24,9 +25,7 @@ class HttpConnection { |
void Send(const std::string& data); |
void Send(const char* bytes, int len); |
- void Send(HttpStatusCode status_code, |
- const std::string& data, |
- const std::string& content_type); |
+ void Send(const HttpServerResponseInfo& response); |
void Shift(int num_bytes); |