OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_HTTP_HTTP_REQUEST_INFO_H__ | 5 #ifndef NET_HTTP_HTTP_REQUEST_INFO_H__ |
6 #define NET_HTTP_HTTP_REQUEST_INFO_H__ | 6 #define NET_HTTP_HTTP_REQUEST_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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 // Any load flags (see load_flags.h). | 46 // Any load flags (see load_flags.h). |
47 int load_flags; | 47 int load_flags; |
48 | 48 |
49 // The motivation behind this request. | 49 // The motivation behind this request. |
50 RequestMotivation motivation; | 50 RequestMotivation motivation; |
51 | 51 |
52 // If enabled, then request must be sent over connection that cannot be | 52 // If enabled, then request must be sent over connection that cannot be |
53 // tracked by the server (e.g. without channel id). | 53 // tracked by the server (e.g. without channel id). |
54 PrivacyMode privacy_mode; | 54 PrivacyMode privacy_mode; |
| 55 |
| 56 // If present, the host of the referrer whose TokenBindingID should be |
| 57 // included in a referred TokenBinding. |
| 58 std::string token_binding_referrer; |
55 }; | 59 }; |
56 | 60 |
57 } // namespace net | 61 } // namespace net |
58 | 62 |
59 #endif // NET_HTTP_HTTP_REQUEST_INFO_H__ | 63 #endif // NET_HTTP_HTTP_REQUEST_INFO_H__ |
OLD | NEW |