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_NETWOR
K_DELEGATE_H_ | 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_NETWOR
K_DELEGATE_H_ |
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_NETWOR
K_DELEGATE_H_ | 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_NETWOR
K_DELEGATE_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/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metr
ics.h" | 16 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metr
ics.h" |
17 #include "net/base/completion_callback.h" | 17 #include "net/base/completion_callback.h" |
18 #include "net/base/layered_network_delegate.h" | 18 #include "net/base/layered_network_delegate.h" |
19 #include "net/proxy/proxy_retry_info.h" | 19 #include "net/proxy/proxy_retry_info.h" |
20 | 20 |
21 class GURL; | 21 class GURL; |
22 | 22 |
23 namespace base { | 23 namespace base { |
24 class Value; | 24 class Value; |
25 } | 25 } |
26 | 26 |
27 namespace net { | 27 namespace net { |
28 class HttpResponseHeaders; | |
29 class HttpRequestHeaders; | 28 class HttpRequestHeaders; |
30 class NetworkDelegate; | 29 class NetworkDelegate; |
31 class ProxyConfig; | 30 class ProxyConfig; |
32 class ProxyInfo; | 31 class ProxyInfo; |
33 class ProxyServer; | |
34 class ProxyService; | |
35 class URLRequest; | 32 class URLRequest; |
36 } | 33 } |
37 | 34 |
38 namespace data_reduction_proxy { | 35 namespace data_reduction_proxy { |
39 class DataReductionProxyBypassStats; | 36 class DataReductionProxyBypassStats; |
40 class DataReductionProxyConfig; | 37 class DataReductionProxyConfig; |
41 class DataReductionProxyConfigurator; | 38 class DataReductionProxyConfigurator; |
42 class DataReductionProxyExperimentsStats; | |
43 class DataReductionProxyIOData; | 39 class DataReductionProxyIOData; |
44 class DataReductionProxyRequestOptions; | 40 class DataReductionProxyRequestOptions; |
45 class DataUseGroupProvider; | 41 class DataUseGroupProvider; |
46 class DataUseGroup; | 42 class DataUseGroup; |
47 | 43 |
48 // Values of the UMA DataReductionProxy.LoFi.TransformationType histogram. | 44 // Values of the UMA DataReductionProxy.LoFi.TransformationType histogram. |
49 // This enum must remain synchronized with | 45 // This enum must remain synchronized with |
50 // DataReductionProxyLoFiTransformationType in | 46 // DataReductionProxyLoFiTransformationType in |
51 // metrics/histograms/histograms.xml. | 47 // metrics/histograms/histograms.xml. |
52 enum LitePageTransformationType { | 48 enum LitePageTransformationType { |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 169 |
174 const DataReductionProxyConfigurator* configurator_; | 170 const DataReductionProxyConfigurator* configurator_; |
175 | 171 |
176 std::unique_ptr<DataUseGroupProvider> data_use_group_provider_; | 172 std::unique_ptr<DataUseGroupProvider> data_use_group_provider_; |
177 | 173 |
178 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyNetworkDelegate); | 174 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyNetworkDelegate); |
179 }; | 175 }; |
180 } // namespace data_reduction_proxy | 176 } // namespace data_reduction_proxy |
181 | 177 |
182 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_NET
WORK_DELEGATE_H_ | 178 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_NET
WORK_DELEGATE_H_ |
OLD | NEW |