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 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_bypa
ss_stats.h" | 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_bypa
ss_stats.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
9 #include "base/metrics/sparse_histogram.h" | 9 #include "base/metrics/sparse_histogram.h" |
10 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig.h" | 10 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig.h" |
11 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_tamp
er_detection.h" | 11 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_tamp
er_detection.h" |
12 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade
rs.h" | 12 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade
rs.h" |
13 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s.h" | 13 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s.h" |
14 #include "net/base/load_flags.h" | 14 #include "net/base/load_flags.h" |
15 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
16 #include "net/http/http_response_headers.h" | 16 #include "net/http/http_response_headers.h" |
17 #include "net/http/http_status_code.h" | 17 #include "net/http/http_status_code.h" |
18 #include "net/proxy/proxy_server.h" | 18 #include "net/proxy/proxy_server.h" |
19 #include "net/proxy/proxy_service.h" | 19 #include "net/proxy/proxy_service.h" |
20 #include "net/url_request/url_request.h" | 20 #include "net/url_request/url_request.h" |
21 #include "net/url_request/url_request_context.h" | 21 #include "net/url_request/url_request_context.h" |
22 | 22 |
23 using base::MessageLoopProxy; | |
24 using net::HostPortPair; | 23 using net::HostPortPair; |
25 using net::ProxyServer; | 24 using net::ProxyServer; |
26 using net::ProxyService; | 25 using net::ProxyService; |
27 using net::NetworkChangeNotifier; | 26 using net::NetworkChangeNotifier; |
28 using net::URLRequest; | 27 using net::URLRequest; |
29 | 28 |
30 namespace data_reduction_proxy { | 29 namespace data_reduction_proxy { |
31 | 30 |
32 namespace { | 31 namespace { |
33 | 32 |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 content_length); | 511 content_length); |
513 break; | 512 break; |
514 default: | 513 default: |
515 break; | 514 break; |
516 } | 515 } |
517 break; | 516 break; |
518 } | 517 } |
519 } | 518 } |
520 | 519 |
521 } // namespace data_reduction_proxy | 520 } // namespace data_reduction_proxy |
OLD | NEW |