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_conf
igurator.h" | 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
igurator.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
11 #include "base/values.h" | 13 #include "base/values.h" |
12 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event
_creator.h" | 14 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event
_creator.h" |
13 #include "net/proxy/proxy_config.h" | 15 #include "net/proxy/proxy_config.h" |
14 | 16 |
15 namespace data_reduction_proxy { | 17 namespace data_reduction_proxy { |
16 | 18 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 104 |
103 AddHostPatternToBypass(host_pattern); | 105 AddHostPatternToBypass(host_pattern); |
104 } | 106 } |
105 | 107 |
106 const net::ProxyConfig& DataReductionProxyConfigurator::GetProxyConfig() const { | 108 const net::ProxyConfig& DataReductionProxyConfigurator::GetProxyConfig() const { |
107 DCHECK(thread_checker_.CalledOnValidThread()); | 109 DCHECK(thread_checker_.CalledOnValidThread()); |
108 return config_; | 110 return config_; |
109 } | 111 } |
110 | 112 |
111 } // namespace data_reduction_proxy | 113 } // namespace data_reduction_proxy |
OLD | NEW |