| 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 077f0d20a1c3d2cf4364f7b314deb69777592677..040605e25ec21a3badd4abc87531b50454a102f9 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
|
| @@ -16,7 +16,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/observer_list.h"
|
| -#include "base/threading/non_thread_safe.h"
|
| +#include "base/sequence_checker.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h"
|
| #include "components/data_reduction_proxy/core/browser/db_data_owner.h"
|
| #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event_storage_delegate.h"
|
| @@ -47,8 +47,7 @@ class DataUseGroup;
|
| // Contains and initializes all Data Reduction Proxy objects that have a
|
| // lifetime based on the UI thread.
|
| class DataReductionProxyService
|
| - : public base::NonThreadSafe,
|
| - public DataReductionProxyEventStorageDelegate {
|
| + : public DataReductionProxyEventStorageDelegate {
|
| public:
|
| // The caller must ensure that |settings|, |prefs|, |request_context|, and
|
| // |io_task_runner| remain alive for the lifetime of the
|
| @@ -204,6 +203,8 @@ class DataReductionProxyService
|
|
|
| bool initialized_;
|
|
|
| + SEQUENCE_CHECKER(sequence_checker_);
|
| +
|
| base::WeakPtrFactory<DataReductionProxyService> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(DataReductionProxyService);
|
|
|