Index: net/url_request/url_request_context.cc |
diff --git a/net/url_request/url_request_context.cc b/net/url_request/url_request_context.cc |
index 721ec9aaccd3ba73354925a7f71e13bd73436b0b..6e5f6bd12ecccfc03d44745e4076ed9edf71dc69 100644 |
--- a/net/url_request/url_request_context.cc |
+++ b/net/url_request/url_request_context.cc |
@@ -38,7 +38,8 @@ URLRequestContext::URLRequestContext() |
network_quality_estimator_(nullptr), |
url_requests_(new std::set<const URLRequest*>), |
has_known_mismatched_cookie_store_(false), |
- enable_brotli_(false) {} |
+ enable_brotli_(false), |
+ enable_referrer_policy_header_(false) {} |
URLRequestContext::~URLRequestContext() { |
AssertNoURLRequests(); |
@@ -67,6 +68,7 @@ void URLRequestContext::CopyFrom(const URLRequestContext* other) { |
set_http_user_agent_settings(other->http_user_agent_settings_); |
set_network_quality_estimator(other->network_quality_estimator_); |
set_enable_brotli(other->enable_brotli_); |
+ set_enable_referrer_policy_header(other->enable_referrer_policy_header_); |
} |
const HttpNetworkSession::Params* URLRequestContext::GetNetworkSessionParams( |