summaryrefslogtreecommitdiffstats
path: root/components/navigation_interception/intercept_navigation_resource_throttle.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/navigation_interception/intercept_navigation_resource_throttle.h')
-rw-r--r--components/navigation_interception/intercept_navigation_resource_throttle.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/navigation_interception/intercept_navigation_resource_throttle.h b/components/navigation_interception/intercept_navigation_resource_throttle.h
index 012cd568..79ed57e 100644
--- a/components/navigation_interception/intercept_navigation_resource_throttle.h
+++ b/components/navigation_interception/intercept_navigation_resource_throttle.h
@@ -44,7 +44,10 @@ class InterceptNavigationResourceThrottle : public content::ResourceThrottle {
virtual void WillRedirectRequest(const GURL& new_url, bool* defer) OVERRIDE;
private:
- bool CheckIfShouldIgnoreNavigation(const GURL& url, bool is_redirect);
+ std::string GetMethodAfterRedirect();
+ bool CheckIfShouldIgnoreNavigation(const GURL& url,
+ const std::string& method,
+ bool is_redirect);
void OnResultObtained(bool should_ignore_navigation);
net::URLRequest* request_;