Index: net/websockets/websocket_stream.cc |
diff --git a/net/websockets/websocket_stream.cc b/net/websockets/websocket_stream.cc |
index 36b0ad4e5c95352afcf3a80e5af147a0dd7f8b3c..cf1346f429f1dae34fcfb2ca9c3ad05018962869 100644 |
--- a/net/websockets/websocket_stream.cc |
+++ b/net/websockets/websocket_stream.cc |
@@ -11,6 +11,7 @@ |
#include "net/base/load_flags.h" |
#include "net/http/http_request_headers.h" |
#include "net/http/http_status_code.h" |
+#include "net/url_request/redirect_info.h" |
#include "net/url_request/url_request.h" |
#include "net/url_request/url_request_context.h" |
#include "net/websockets/websocket_errors.h" |
@@ -45,7 +46,7 @@ class Delegate : public URLRequest::Delegate { |
// Implementation of URLRequest::Delegate methods. |
virtual void OnReceivedRedirect(URLRequest* request, |
- const GURL& new_url, |
+ const RedirectInfo& redirect_info, |
bool* defer_redirect) OVERRIDE { |
// HTTP status codes returned by HttpStreamParser are filtered by |
// WebSocketBasicHandshakeStream, and only 101, 401 and 407 are permitted |