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

Unified Diff: content/browser/loader/throttling_resource_handler.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: content/browser/loader/throttling_resource_handler.cc
diff --git a/content/browser/loader/throttling_resource_handler.cc b/content/browser/loader/throttling_resource_handler.cc
index 1f17d336b6d6207522be03a543a2e8a8c197f952..0378423ba151b915de4ada2dbe9feb90b92e8d10 100644
--- a/content/browser/loader/throttling_resource_handler.cc
+++ b/content/browser/loader/throttling_resource_handler.cc
@@ -40,7 +40,7 @@ bool ThrottlingResourceHandler::OnRequestRedirected(
*defer = false;
while (next_index_ < throttles_.size()) {
int index = next_index_;
- throttles_[index]->WillRedirectRequest(redirect_info.new_url, defer);
+ throttles_[index]->WillRedirectRequest(redirect_info, defer);
next_index_++;
if (cancelled_by_resource_throttle_)
return false;

Powered by Google App Engine
This is Rietveld 408576698