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

Unified Diff: content/shell/browser/layout_test/layout_test_url_request_context_getter.cc

Issue 2100583002: Apply Referrer-Policy header when following redirects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jochen suggestion Created 4 years, 6 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/shell/browser/layout_test/layout_test_url_request_context_getter.cc
diff --git a/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc b/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc
index aba87032d7def841285aeacb1eaccaa6dfaa17f0..537be45ff2324bd64f8f470856edd635aef1ff13 100644
--- a/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc
+++ b/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc
@@ -53,4 +53,8 @@ LayoutTestURLRequestContextGetter::GetProxyService() {
return net::ProxyService::CreateDirect();
}
+bool LayoutTestURLRequestContextGetter::ShouldEnableReferrerPolicyHeader() {
+ return true;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698