Index: components/cronet/url_request_context_config.cc |
diff --git a/components/cronet/url_request_context_config.cc b/components/cronet/url_request_context_config.cc |
index 0aa208977dd12a6d5289c99fd788f968b6b0b54b..7707850e7b24e42ff4146806a98f0f3ab415cc9d 100644 |
--- a/components/cronet/url_request_context_config.cc |
+++ b/components/cronet/url_request_context_config.cc |
@@ -103,6 +103,10 @@ void URLRequestContextConfig::RegisterJSONConverter( |
converter->RegisterStringField( |
REQUEST_CONTEXT_CONFIG_QUIC_OPTIONS, |
&URLRequestContextConfig::quic_connection_options); |
+ converter->RegisterBoolField(REQUEST_CONTEXT_CONFIG_ENABLE_DATA_SAVER, |
+ &URLRequestContextConfig::enable_data_saver); |
+ converter->RegisterStringField(REQUEST_CONTEXT_CONFIG_DATA_SAVER_KEY, |
+ &URLRequestContextConfig::data_saver_key); |
} |
} // namespace cronet |