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

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

Issue 2445993006: [WIP] Upgrade-insecure-request: upgrade insecurely-redirected requests.
Patch Set: bugfix Created 4 years, 2 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 a0b61b98c6be22254f18404b191e23faa69e88fb..98d3ac1b6b57290745d92cbaa9d153106b806a02 100644
--- a/content/browser/loader/navigation_url_loader_unittest.cc
+++ b/content/browser/loader/navigation_url_loader_unittest.cc
@@ -111,9 +111,9 @@ class NavigationURLLoaderTest : public testing::Test {
CommonNavigationParams common_params;
common_params.url = url;
std::unique_ptr<NavigationRequestInfo> request_info(
- new NavigationRequestInfo(common_params, begin_params, url,
- url::Origin(url), true, false, false, -1,
- false, false));
+ new NavigationRequestInfo(
+ common_params, begin_params, url, url::Origin(url), true, false,
+ false, -1, false, false, blink::kLeaveInsecureRequestsAlone));
return NavigationURLLoader::Create(browser_context_.get(),
std::move(request_info), nullptr,
« no previous file with comments | « content/browser/loader/async_resource_handler_unittest.cc ('k') | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698