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

Side by Side Diff: net/url_request/redirect_info.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, 5 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/url_request/redirect_info.h" 5 #include "net/url_request/redirect_info.h"
6 6
7 namespace net { 7 namespace net {
8 8
9 RedirectInfo::RedirectInfo() : status_code(-1) {} 9 RedirectInfo::RedirectInfo()
10 : status_code(-1),
11 new_referrer_policy(
12 URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE) {}
10 13
11 RedirectInfo::RedirectInfo(const RedirectInfo& other) = default; 14 RedirectInfo::RedirectInfo(const RedirectInfo& other) = default;
12 15
13 RedirectInfo::~RedirectInfo() {} 16 RedirectInfo::~RedirectInfo() {}
14 17
15 } // namespace net 18 } // namespace net
OLDNEW
« 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