Index: net/websockets/websocket_basic_handshake_stream.cc |
diff --git a/net/websockets/websocket_basic_handshake_stream.cc b/net/websockets/websocket_basic_handshake_stream.cc |
index aee33673f00101f7e7b22b81f11c4a7de53cbd1c..a61a9437e5fd3220843c6bcff0ff57c4f9ad328a 100644 |
--- a/net/websockets/websocket_basic_handshake_stream.cc |
+++ b/net/websockets/websocket_basic_handshake_stream.cc |
@@ -31,6 +31,7 @@ |
#include "net/http/http_request_info.h" |
#include "net/http/http_response_body_drainer.h" |
#include "net/http/http_response_headers.h" |
+#include "net/http/http_response_info.h" |
#include "net/http/http_status_code.h" |
#include "net/http/http_stream_parser.h" |
#include "net/socket/client_socket_handle.h" |
@@ -451,10 +452,10 @@ Error WebSocketBasicHandshakeStream::GetSignedEKMForTokenBinding( |
return ERR_NOT_IMPLEMENTED; |
} |
-void WebSocketBasicHandshakeStream::Drain(HttpNetworkSession* session) { |
- HttpResponseBodyDrainer* drainer = new HttpResponseBodyDrainer(this); |
- drainer->Start(session); |
- // |drainer| will delete itself. |
+void WebSocketBasicHandshakeStream::Drain( |
+ HttpNetworkSession* session, |
+ scoped_ptr<HttpResponseInfo> response_info) { |
+ NOTREACHED(); |
} |
void WebSocketBasicHandshakeStream::SetPriority(RequestPriority priority) { |