| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_SERVIC
E_H_ | 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_SERVIC
E_H_ |
| 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_SERVIC
E_H_ | 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_SERVIC
E_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
| 19 #include "base/sequenced_task_runner.h" | |
| 20 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
| 21 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metr
ics.h" | 20 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metr
ics.h" |
| 22 #include "components/data_reduction_proxy/core/browser/db_data_owner.h" | 21 #include "components/data_reduction_proxy/core/browser/db_data_owner.h" |
| 23 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event
_storage_delegate.h" | 22 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event
_storage_delegate.h" |
| 24 | 23 |
| 25 class GURL; | 24 class GURL; |
| 26 class PrefService; | 25 class PrefService; |
| 27 | 26 |
| 28 namespace base { | 27 namespace base { |
| 29 class SequencedTaskRunner; | 28 class SequencedTaskRunner; |
| 29 class SingleThreadTaskRunner; |
| 30 class TimeDelta; | 30 class TimeDelta; |
| 31 class Value; | 31 class Value; |
| 32 } | 32 } |
| 33 | 33 |
| 34 namespace net { | 34 namespace net { |
| 35 class URLRequestContextGetter; | 35 class URLRequestContextGetter; |
| 36 } | 36 } |
| 37 | 37 |
| 38 namespace data_reduction_proxy { | 38 namespace data_reduction_proxy { |
| 39 | 39 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 bool initialized_; | 201 bool initialized_; |
| 202 | 202 |
| 203 base::WeakPtrFactory<DataReductionProxyService> weak_factory_; | 203 base::WeakPtrFactory<DataReductionProxyService> weak_factory_; |
| 204 | 204 |
| 205 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyService); | 205 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyService); |
| 206 }; | 206 }; |
| 207 | 207 |
| 208 } // namespace data_reduction_proxy | 208 } // namespace data_reduction_proxy |
| 209 | 209 |
| 210 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_SER
VICE_H_ | 210 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_SER
VICE_H_ |
| OLD | NEW |