Index: chrome/browser/supervised_user/supervised_user_resource_throttle.cc |
diff --git a/chrome/browser/supervised_user/supervised_user_resource_throttle.cc b/chrome/browser/supervised_user/supervised_user_resource_throttle.cc |
index 80a741efd43c70f33cbb966f895ddeb0b456b604..479556b389b52831017c07154581c946f7c1b9d6 100644 |
--- a/chrome/browser/supervised_user/supervised_user_resource_throttle.cc |
+++ b/chrome/browser/supervised_user/supervised_user_resource_throttle.cc |
@@ -12,6 +12,7 @@ |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/resource_controller.h" |
#include "content/public/browser/resource_request_info.h" |
+#include "net/url_request/redirect_info.h" |
#include "net/url_request/url_request.h" |
#include "ui/base/page_transition_types.h" |
@@ -147,9 +148,10 @@ void SupervisedUserResourceThrottle::WillStartRequest(bool* defer) { |
ShowInterstitialIfNeeded(false, request_->url(), defer); |
} |
-void SupervisedUserResourceThrottle::WillRedirectRequest(const GURL& new_url, |
- bool* defer) { |
- ShowInterstitialIfNeeded(true, new_url, defer); |
+void SupervisedUserResourceThrottle::WillRedirectRequest( |
+ const net::RedirectInfo& redirect_info, |
+ bool* defer) { |
+ ShowInterstitialIfNeeded(true, redirect_info.new_url, defer); |
} |
const char* SupervisedUserResourceThrottle::GetNameForLogging() const { |