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 #ifndef NET_URL_REQUEST_REDIRECT_INFO_H_ | 5 #ifndef NET_URL_REQUEST_REDIRECT_INFO_H_ |
6 #define NET_URL_REQUEST_REDIRECT_INFO_H_ | 6 #define NET_URL_REQUEST_REDIRECT_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 std::string new_method; | 30 std::string new_method; |
31 | 31 |
32 // The new request URL. | 32 // The new request URL. |
33 GURL new_url; | 33 GURL new_url; |
34 | 34 |
35 // The new first-party URL for cookies. | 35 // The new first-party URL for cookies. |
36 GURL new_first_party_for_cookies; | 36 GURL new_first_party_for_cookies; |
37 | 37 |
38 // The new HTTP referrer header. | 38 // The new HTTP referrer header. |
39 std::string new_referrer; | 39 std::string new_referrer; |
| 40 |
| 41 // The hostname of the referrer if it asked the client to include a referred |
| 42 // Token Binding when following the redirect; otherwise this is the empty |
| 43 // string. |
| 44 std::string referred_token_binding_host; |
40 }; | 45 }; |
41 | 46 |
42 } // namespace net | 47 } // namespace net |
43 | 48 |
44 #endif // NET_URL_REQUEST_REDIRECT_INFO_H_ | 49 #endif // NET_URL_REQUEST_REDIRECT_INFO_H_ |
OLD | NEW |