Chromium Code Reviews| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h |
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h |
| index 9474cf996156ffeb0fdd0beb6c6682d72fe464b2..99bb75645f34b4b0370ab25a05e5f4974c749a10 100644 |
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h |
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h |
| @@ -14,7 +14,7 @@ |
| #include "base/memory/scoped_ptr.h" |
| #include "base/memory/weak_ptr.h" |
| #include "base/observer_list.h" |
| -#include "base/single_thread_task_runner.h" |
| +#include "base/sequenced_task_runner.h" |
| #include "base/threading/non_thread_safe.h" |
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h" |
| #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event_storage_delegate.h" |
| @@ -70,11 +70,13 @@ class DataReductionProxyService |
| // final step in initialization. |
| bool Initialized() const; |
| - // Constructs compression stats. This should not be called if a valid |
| - // compression stats is passed into the constructor. |
| + // Constructs compression stats with a dummy store which does nothing. Load |
|
jeremyim
2015/06/30 01:59:18
Constructs compression stats with a noop |DataRedu
Not at Google. Contact bengr
2015/07/01 17:13:49
Done.
|
| + // and store calls to this store are no-ops. This should not be called |
| + // if a valid compression stats is passed into the constructor. |
| void EnableCompressionStatisticsLogging( |
| PrefService* prefs, |
| scoped_refptr<base::SequencedTaskRunner> ui_task_runner, |
| + scoped_refptr<base::SequencedTaskRunner> db_task_runner, |
| const base::TimeDelta& commit_delay); |
| // Records daily data savings statistics in |compression_stats_|. |