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

Unified Diff: content/browser/loader/async_resource_handler_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/async_resource_handler_unittest.cc
diff --git a/content/browser/loader/async_resource_handler_unittest.cc b/content/browser/loader/async_resource_handler_unittest.cc
index 9764dfdc9b6db16f21c9bea85ed96ba8543b0659..e55af7f078b0fad84312f45b0037f6e79834d775 100644
--- a/content/browser/loader/async_resource_handler_unittest.cc
+++ b/content/browser/loader/async_resource_handler_unittest.cc
@@ -188,7 +188,8 @@ class AsyncResourceHandlerTest : public ::testing::Test,
false, // is_using_lofi
std::string(), // original_headers
nullptr, // body
- false); // initiated_in_secure_context
+ false, // initiated_in_secure_context
+ blink::kLeaveInsecureRequestsAlone); // insecure_request_policy
info->AssociateWithRequest(request.get());
std::unique_ptr<AsyncResourceHandler> handler =
base::MakeUnique<AsyncResourceHandler>(request.get(), &rdh_);
« no previous file with comments | « content/browser/frame_host/navigation_request_info.cc ('k') | content/browser/loader/navigation_url_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698