| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
|
| index e3cf26ab43be53739d7d0351e01fd0315f4eb7ac..83d2758bc8f2a68eccd6067d724c4652e2acae4c 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
|
| @@ -13,6 +13,7 @@
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_service_observer.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h"
|
| +#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_store.h"
|
| #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.h"
|
| #include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h"
|
| #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h"
|
| @@ -71,13 +72,15 @@ void DataReductionProxyService::Shutdown() {
|
| void DataReductionProxyService::EnableCompressionStatisticsLogging(
|
| PrefService* prefs,
|
| scoped_refptr<base::SequencedTaskRunner> ui_task_runner,
|
| + scoped_refptr<base::SequencedTaskRunner> db_task_runner,
|
| const base::TimeDelta& commit_delay) {
|
| DCHECK(CalledOnValidThread());
|
| DCHECK(!compression_stats_);
|
| DCHECK(!prefs_);
|
| prefs_ = prefs;
|
| + scoped_refptr<DataReductionProxyStore> store(new DataReductionProxyStore());
|
| compression_stats_.reset(new DataReductionProxyCompressionStats(
|
| - prefs_, ui_task_runner, commit_delay));
|
| + prefs_, ui_task_runner, db_task_runner, store, commit_delay));
|
| }
|
|
|
| void DataReductionProxyService::UpdateContentLengths(
|
|
|