Chromium Code Reviews| Index: android_webview/browser/aw_browser_context.cc | 
| diff --git a/android_webview/browser/aw_browser_context.cc b/android_webview/browser/aw_browser_context.cc | 
| index 4efdd6c0b7e6a1ce6290197670ffd2accb59894b..2d98bc256e404d3bf41b00011019285398696729 100644 | 
| --- a/android_webview/browser/aw_browser_context.cc | 
| +++ b/android_webview/browser/aw_browser_context.cc | 
| @@ -16,6 +16,7 @@ | 
| #include "base/prefs/pref_service_factory.h" | 
| #include "components/autofill/core/common/autofill_pref_names.h" | 
| #include "components/data_reduction_proxy/browser/data_reduction_proxy_config_service.h" | 
| +#include "components/data_reduction_proxy/browser/data_reduction_proxy_params.h" | 
| #include "components/data_reduction_proxy/browser/data_reduction_proxy_prefs.h" | 
| #include "components/data_reduction_proxy/browser/data_reduction_proxy_settings.h" | 
| #include "components/user_prefs/user_prefs.h" | 
| @@ -94,11 +95,10 @@ void AwBrowserContext::SetDataReductionProxyEnabled(bool enabled) { | 
| void AwBrowserContext::PreMainMessageLoopRun() { | 
| cookie_store_ = CreateCookieStore(this); | 
| - DataReductionProxySettings::SetAllowed(true); | 
| - DataReductionProxySettings::SetPromoAllowed(false); | 
| data_reduction_proxy_settings_.reset( | 
| - new DataReductionProxySettings()); | 
| - data_reduction_proxy_settings_->set_fallback_allowed(false); | 
| + new DataReductionProxySettings( | 
| + new data_reduction_proxy::DataReductionProxyParams( | 
| + true, false, false, false))); | 
| 
 
sgurun-gerrit only
2014/05/20 23:55:21
nit: I think this large list of booleans makes it
 
 | 
| url_request_context_getter_ = | 
| new AwURLRequestContextGetter(GetPath(), cookie_store_.get()); |