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

Unified Diff: net/url_request/redirect_info.cc

Issue 2108423002: Revert of Apply Referrer-Policy header when following redirects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « net/url_request/redirect_info.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/redirect_info.cc
diff --git a/net/url_request/redirect_info.cc b/net/url_request/redirect_info.cc
index 5b10f70f230e28e64e795bca3ca8763821f4d2da..f7f95383e2d99de28ec0ccdd8eb5fc0db163234d 100644
--- a/net/url_request/redirect_info.cc
+++ b/net/url_request/redirect_info.cc
@@ -6,10 +6,7 @@
namespace net {
-RedirectInfo::RedirectInfo()
- : status_code(-1),
- new_referrer_policy(
- URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE) {}
+RedirectInfo::RedirectInfo() : status_code(-1) {}
RedirectInfo::RedirectInfo(const RedirectInfo& other) = default;
« no previous file with comments | « net/url_request/redirect_info.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698