Chromium Code Reviews| Index: content/browser/loader/resource_handler.h |
| diff --git a/content/browser/loader/resource_handler.h b/content/browser/loader/resource_handler.h |
| index a9d8a38aaa9d1b84bbf9c0112d7cfc2f37613c44..6a732bb2e3ca201c3903b6e16fa1fc2e2caaf605 100644 |
| --- a/content/browser/loader/resource_handler.h |
| +++ b/content/browser/loader/resource_handler.h |
| @@ -23,6 +23,7 @@ class GURL; |
| namespace net { |
| class IOBuffer; |
| +struct RedirectInfo; |
|
darin (slow to review)
2014/08/14 23:54:21
nit: list "struct" after "class"?
davidben
2014/08/15 17:12:15
Done.
|
| class URLRequest; |
| class URLRequestStatus; |
| } // namespace net |
| @@ -51,7 +52,7 @@ class CONTENT_EXPORT ResourceHandler |
| // false. Set |*defer| to true to defer the redirect. The redirect may be |
| // followed later on via ResourceDispatcherHost::FollowDeferredRedirect. If |
| // the handler returns false, then the request is cancelled. |
| - virtual bool OnRequestRedirected(const GURL& url, |
| + virtual bool OnRequestRedirected(const net::RedirectInfo& redirect_info, |
| ResourceResponse* response, |
| bool* defer) = 0; |