| Index: net/websockets/websocket_stream.cc
|
| diff --git a/net/websockets/websocket_stream.cc b/net/websockets/websocket_stream.cc
|
| index b6a235991979d01ff9a062c693d73c83cbda1afc..c9513d758b663c55d39feefba61d92817ad61f39 100644
|
| --- a/net/websockets/websocket_stream.cc
|
| +++ b/net/websockets/websocket_stream.cc
|
| @@ -12,6 +12,7 @@
|
| #include "net/http/http_request_headers.h"
|
| #include "net/http/http_response_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"
|
| @@ -46,7 +47,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
|
|
|