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

Unified Diff: chrome/browser/component_updater/component_updater_resource_throttle.cc

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: chrome/browser/component_updater/component_updater_resource_throttle.cc
diff --git a/chrome/browser/component_updater/component_updater_resource_throttle.cc b/chrome/browser/component_updater/component_updater_resource_throttle.cc
index a18041991dd9087e20b0ec1bad9946691595ebfd..5295fe77793cb91ffd6dcbf88f67c577c1c32f5c 100644
--- a/chrome/browser/component_updater/component_updater_resource_throttle.cc
+++ b/chrome/browser/component_updater/component_updater_resource_throttle.cc
@@ -32,7 +32,8 @@ class CUResourceThrottle : public content::ResourceThrottle,
// Overriden from ResourceThrottle.
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;
// Component updater calls this function via PostTask to unblock the request.
@@ -63,7 +64,8 @@ void CUResourceThrottle::WillStartRequest(bool* defer) {
}
}
-void CUResourceThrottle::WillRedirectRequest(const GURL& new_url, bool* defer) {
+void CUResourceThrottle::WillRedirectRequest(
+ const net::RedirectInfo& redirect_info, bool* defer) {
WillStartRequest(defer);
}

Powered by Google App Engine
This is Rietveld 408576698