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

Unified Diff: content/browser/loader/navigation_url_loader_impl.cc

Issue 1269813002: Add a NavigationThrottle to the public content/ interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@navigation-api
Patch Set: Addressed comments Created 5 years, 3 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/navigation_url_loader_impl.cc
diff --git a/content/browser/loader/navigation_url_loader_impl.cc b/content/browser/loader/navigation_url_loader_impl.cc
index 9d7db596e4ae4988ef78a47c31708d1f312178df..b5ac742bbe187f6cec03968afb88360c3052235e 100644
--- a/content/browser/loader/navigation_url_loader_impl.cc
+++ b/content/browser/loader/navigation_url_loader_impl.cc
@@ -50,10 +50,11 @@ void NavigationURLLoaderImpl::FollowRedirect() {
void NavigationURLLoaderImpl::NotifyRequestRedirected(
const net::RedirectInfo& redirect_info,
- const scoped_refptr<ResourceResponse>& response) {
+ const scoped_refptr<ResourceResponse>& response,
+ bool is_external_protocol) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- delegate_->OnRequestRedirected(redirect_info, response);
+ delegate_->OnRequestRedirected(redirect_info, response, is_external_protocol);
}
void NavigationURLLoaderImpl::NotifyResponseStarted(

Powered by Google App Engine
This is Rietveld 408576698