OLD | NEW |
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 |
OLD | NEW |