OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CONFIG
URATOR_H_ | 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG
URATOR_H_ |
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG
URATOR_H_ | 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG
URATOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
14 #include "net/proxy/proxy_config.h" | 14 #include "net/proxy/proxy_config.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 class NetLog; | 17 class NetLog; |
18 class ProxyInfo; | |
19 class ProxyServer; | 18 class ProxyServer; |
20 class ProxyService; | |
21 } | 19 } |
22 | 20 |
23 class PrefService; | |
24 | |
25 namespace data_reduction_proxy { | 21 namespace data_reduction_proxy { |
26 | 22 |
27 class DataReductionProxyEventCreator; | 23 class DataReductionProxyEventCreator; |
28 | 24 |
29 class DataReductionProxyConfigurator { | 25 class DataReductionProxyConfigurator { |
30 public: | 26 public: |
31 // Constructs a configurator. |net_log| and |event_creator| are used to | 27 // Constructs a configurator. |net_log| and |event_creator| are used to |
32 // track network and Data Reduction Proxy events respectively, must not be | 28 // track network and Data Reduction Proxy events respectively, must not be |
33 // null, and must outlive this instance. | 29 // null, and must outlive this instance. |
34 DataReductionProxyConfigurator(net::NetLog* net_log, | 30 DataReductionProxyConfigurator(net::NetLog* net_log, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 77 |
82 // Enforce usage on the IO thread. | 78 // Enforce usage on the IO thread. |
83 base::ThreadChecker thread_checker_; | 79 base::ThreadChecker thread_checker_; |
84 | 80 |
85 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyConfigurator); | 81 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyConfigurator); |
86 }; | 82 }; |
87 | 83 |
88 } // namespace data_reduction_proxy | 84 } // namespace data_reduction_proxy |
89 | 85 |
90 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CON
FIGURATOR_H_ | 86 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CON
FIGURATOR_H_ |
OLD | NEW |