Index: net/url_request/redirect_info.h |
diff --git a/net/url_request/redirect_info.h b/net/url_request/redirect_info.h |
index 19343dbe6759744be9928e1319d01209138d17eb..727357b55ec7abfef7b694672a732e3cd5fae89c 100644 |
--- a/net/url_request/redirect_info.h |
+++ b/net/url_request/redirect_info.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include "net/base/net_export.h" |
+#include "net/url_request/url_request.h" |
#include "url/gurl.h" |
namespace net { |
@@ -38,6 +39,10 @@ struct NET_EXPORT RedirectInfo { |
// The new HTTP referrer header. |
std::string new_referrer; |
+ // The new referrer policy that should be obeyed if there are |
+ // subsequent redirects. |
+ URLRequest::ReferrerPolicy new_referrer_policy; |
+ |
// The hostname of the referrer if it asked the client to include a referred |
// Token Binding when following the redirect; otherwise this is the empty |
// string. |