diff options
author | mmenke <mmenke@chromium.org> | 2015-02-11 07:15:51 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-11 15:16:36 +0000 |
commit | 44629d64ec3c0e2c95a4cf08ea70b5dde89257fc (patch) | |
tree | af10207ddac142393fa91b62fd98b03b06f75521 /components/navigation_interception/intercept_navigation_resource_throttle.h | |
parent | 48f8473aaefa9d1b025d1bbefa2ee9bbce4641a0 (diff) | |
download | chromium_src-44629d64ec3c0e2c95a4cf08ea70b5dde89257fc.zip chromium_src-44629d64ec3c0e2c95a4cf08ea70b5dde89257fc.tar.gz chromium_src-44629d64ec3c0e2c95a4cf08ea70b5dde89257fc.tar.bz2 |
Add RedirectInfo as a redirect parameter to ResourceThrottles.
This lets this CL to also remove URLRequest::GetMethodForRedirect().
BUG=455744
Review URL: https://codereview.chromium.org/893843003
Cr-Commit-Position: refs/heads/master@{#315761}
Diffstat (limited to 'components/navigation_interception/intercept_navigation_resource_throttle.h')
-rw-r--r-- | components/navigation_interception/intercept_navigation_resource_throttle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/navigation_interception/intercept_navigation_resource_throttle.h b/components/navigation_interception/intercept_navigation_resource_throttle.h index 062a05f..db3a714 100644 --- a/components/navigation_interception/intercept_navigation_resource_throttle.h +++ b/components/navigation_interception/intercept_navigation_resource_throttle.h @@ -41,11 +41,11 @@ class InterceptNavigationResourceThrottle : public content::ResourceThrottle { // content::ResourceThrottle implementation: void WillStartRequest(bool* defer) override; - void WillRedirectRequest(const GURL& new_url, bool* defer) override; + void WillRedirectRequest(const net::RedirectInfo& redirect_info, + bool* defer) override; const char* GetNameForLogging() const override; private: - std::string GetMethodAfterRedirect(); bool CheckIfShouldIgnoreNavigation(const GURL& url, const std::string& method, bool is_redirect); |