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

Unified Diff: content/browser/loader/navigation_url_loader_unittest.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: Created 5 years, 4 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_unittest.cc
diff --git a/content/browser/loader/navigation_url_loader_unittest.cc b/content/browser/loader/navigation_url_loader_unittest.cc
index df5e9d6aeacc7b935c4d3c6eba5771e2c6257fd7..79bf2360200777ae73760fe2c25ea5be9c238f1c 100644
--- a/content/browser/loader/navigation_url_loader_unittest.cc
+++ b/content/browser/loader/navigation_url_loader_unittest.cc
@@ -99,7 +99,8 @@ class TestNavigationURLLoaderDelegate : public NavigationURLLoaderDelegate {
// NavigationURLLoaderDelegate implementation.
void OnRequestRedirected(
const net::RedirectInfo& redirect_info,
- const scoped_refptr<ResourceResponse>& response) override {
+ const scoped_refptr<ResourceResponse>& response,
+ bool is_external_protocol) override {
redirect_info_ = redirect_info;
redirect_response_ = response;
ASSERT_TRUE(request_redirected_);

Powered by Google App Engine
This is Rietveld 408576698