Chromium Code Reviews| Index: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc |
| diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc |
| index c5efc4dc8c268b9612d96176621b9bee97f33e00..b47ec0ecaf4f810b22cbf1e70d48b0bf550de915 100644 |
| --- a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc |
| +++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc |
| @@ -7,6 +7,7 @@ |
| #include "base/prefs/pref_service.h" |
| #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" |
| #include "chrome/common/chrome_content_client.h" |
| +#include "components/data_reduction_proxy/content/browser/content_lofi_decider.h" |
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_config_retrieval_params.h" |
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_experiments_stats.h" |
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h" |
| @@ -66,6 +67,10 @@ CreateDataReductionProxyChromeIOData( |
| data_reduction_proxy::DataReductionProxyConfigRetrievalParams::Create( |
| prefs)); |
| + scoped_ptr<data_reduction_proxy::LoFiDecider> lofi_decider( |
|
Lei Zhang
2015/10/12 23:14:26
Just combine with the next line?
megjablon
2015/10/12 23:21:59
Done.
|
| + new data_reduction_proxy::ContentLoFiDecider()); |
| + data_reduction_proxy_io_data->set_lofi_decider(lofi_decider.Pass()); |
| + |
| #if defined(ENABLE_DATA_REDUCTION_PROXY_DEBUGGING) |
| scoped_ptr<data_reduction_proxy::ContentDataReductionProxyDebugUIService> |
| data_reduction_proxy_ui_service( |