Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: components/navigation_interception/intercept_navigation_resource_throttle.h

Issue 893843003: Add RedirectInfo as a redirect parameter to ResourceThrottles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Document ResourceThrottle Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/navigation_interception/intercept_navigation_resource_throttle.h
diff --git a/components/navigation_interception/intercept_navigation_resource_throttle.h b/components/navigation_interception/intercept_navigation_resource_throttle.h
index 062a05f77f3033c33b2d15b2731761e67bb56bd9..db3a714ec4a5929a53d779368783ef0652a2ca98 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);

Powered by Google App Engine
This is Rietveld 408576698