| 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_conf
ig_test_utils.h" | 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_test_utils.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_muta
ble_config_values.h" | 9 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_muta
ble_config_values.h" |
| 8 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s_test_utils.h" | 10 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s_test_utils.h" |
| 9 #include "net/base/net_util.h" | 11 #include "net/base/net_util.h" |
| 10 #include "net/url_request/test_url_fetcher_factory.h" | 12 #include "net/url_request/test_url_fetcher_factory.h" |
| 11 #include "net/url_request/url_request_test_util.h" | 13 #include "net/url_request/url_request_test_util.h" |
| 12 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
| 13 | 15 |
| 14 using testing::_; | 16 using testing::_; |
| 15 | 17 |
| 16 namespace net { | 18 namespace net { |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 bool enabled, | 122 bool enabled, |
| 121 bool secure_proxy_allowed) { | 123 bool secure_proxy_allowed) { |
| 122 DataReductionProxyConfig::UpdateConfigurator(enabled, secure_proxy_allowed); | 124 DataReductionProxyConfig::UpdateConfigurator(enabled, secure_proxy_allowed); |
| 123 } | 125 } |
| 124 | 126 |
| 125 void MockDataReductionProxyConfig::ResetLoFiStatusForTest() { | 127 void MockDataReductionProxyConfig::ResetLoFiStatusForTest() { |
| 126 lofi_off_ = false; | 128 lofi_off_ = false; |
| 127 } | 129 } |
| 128 | 130 |
| 129 } // namespace data_reduction_proxy | 131 } // namespace data_reduction_proxy |
| OLD | NEW |