Chromium Code Reviews| Index: content/public/browser/resource_throttle.h |
| diff --git a/content/public/browser/resource_throttle.h b/content/public/browser/resource_throttle.h |
| index 574025d8275b4c239f21cf74314fae4406ddb952..386a67021cc27bc82ff901397a916ddc74d083cf 100644 |
| --- a/content/public/browser/resource_throttle.h |
| +++ b/content/public/browser/resource_throttle.h |
| @@ -9,6 +9,10 @@ |
| class GURL; |
| +namespace net { |
| +struct RedirectInfo; |
| +} |
| + |
| namespace content { |
| class ResourceController; |
| @@ -24,7 +28,8 @@ class ResourceThrottle { |
| virtual void WillStartRequest(bool* defer) {} |
| virtual void WillStartUsingNetwork(bool* defer) {} |
| - virtual void WillRedirectRequest(const GURL& new_url, bool* defer) {} |
| + virtual void WillRedirectRequest(const net::RedirectInfo& redirect_info, |
|
James Hawkins
2015/02/05 21:34:31
Consider documenting the redirect_info param.
mmenke
2015/02/05 22:02:47
Done! Good idea, went ahead and documented the ot
|
| + bool* defer) {} |
| virtual void WillProcessResponse(bool* defer) {} |
| // Returns the name of the throttle, as a UTF-8 C-string, for logging |