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 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv
ice.h" | 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv
ice.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/metrics/histogram_macros.h" | 12 #include "base/metrics/histogram_macros.h" |
13 #include "base/sequenced_task_runner.h" | 13 #include "base/sequenced_task_runner.h" |
| 14 #include "base/single_thread_task_runner.h" |
14 #include "base/task_runner_util.h" | 15 #include "base/task_runner_util.h" |
15 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp
ression_stats.h" | 16 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp
ression_stats.h" |
16 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d
ata.h" | 17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d
ata.h" |
17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_ping
back_client.h" | 18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_ping
back_client.h" |
18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv
ice_observer.h" | 19 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv
ice_observer.h" |
19 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" | 20 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" |
20 #include "components/data_reduction_proxy/core/browser/data_store.h" | 21 #include "components/data_reduction_proxy/core/browser/data_store.h" |
21 #include "components/data_reduction_proxy/core/browser/data_use_group.h" | 22 #include "components/data_reduction_proxy/core/browser/data_use_group.h" |
22 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event
_store.h" | 23 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event
_store.h" |
23 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s.h" | 24 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s.h" |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 return initialized_; | 321 return initialized_; |
321 } | 322 } |
322 | 323 |
323 base::WeakPtr<DataReductionProxyService> | 324 base::WeakPtr<DataReductionProxyService> |
324 DataReductionProxyService::GetWeakPtr() { | 325 DataReductionProxyService::GetWeakPtr() { |
325 DCHECK(CalledOnValidThread()); | 326 DCHECK(CalledOnValidThread()); |
326 return weak_factory_.GetWeakPtr(); | 327 return weak_factory_.GetWeakPtr(); |
327 } | 328 } |
328 | 329 |
329 } // namespace data_reduction_proxy | 330 } // namespace data_reduction_proxy |
OLD | NEW |