| 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() | 9 RedirectInfo::RedirectInfo() : status_code(-1) {} |
| 10 : status_code(-1), | |
| 11 new_referrer_policy( | |
| 12 URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE) {} | |
| 13 | 10 |
| 14 RedirectInfo::RedirectInfo(const RedirectInfo& other) = default; | 11 RedirectInfo::RedirectInfo(const RedirectInfo& other) = default; |
| 15 | 12 |
| 16 RedirectInfo::~RedirectInfo() {} | 13 RedirectInfo::~RedirectInfo() {} |
| 17 | 14 |
| 18 } // namespace net | 15 } // namespace net |
| OLD | NEW |