Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: components/cronet/url_request_context_config.cc

Issue 937513003: Add Data Saver support to Cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nit Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/cronet/url_request_context_config.h ('k') | components/cronet/url_request_context_config_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c8f2150e6bcc0ab6062b126f11f97bdb7d0423db..b600807f28335c1fd3d3b9103ab391266da20575 100644
--- a/components/cronet/url_request_context_config.cc
+++ b/components/cronet/url_request_context_config.cc
@@ -106,6 +106,18 @@ void URLRequestContextConfig::RegisterJSONConverter(
converter->RegisterStringField(
REQUEST_CONTEXT_CONFIG_QUIC_OPTIONS,
&URLRequestContextConfig::quic_connection_options);
+ converter->RegisterStringField(
+ REQUEST_CONTEXT_CONFIG_DATA_REDUCTION_PRIMARY_PROXY,
+ &URLRequestContextConfig::data_reduction_primary_proxy);
+ converter->RegisterStringField(
+ REQUEST_CONTEXT_CONFIG_DATA_REDUCTION_FALLBACK_PROXY,
+ &URLRequestContextConfig::data_reduction_fallback_proxy);
+ converter->RegisterStringField(
+ REQUEST_CONTEXT_CONFIG_DATA_REDUCTION_SECURE_PROXY_CHECK_URL,
+ &URLRequestContextConfig::data_reduction_secure_proxy_check_url);
+ converter->RegisterStringField(
+ REQUEST_CONTEXT_CONFIG_DATA_REDUCTION_PROXY_KEY,
+ &URLRequestContextConfig::data_reduction_proxy_key);
}
} // namespace cronet
« no previous file with comments | « components/cronet/url_request_context_config.h ('k') | components/cronet/url_request_context_config_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698