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_test
_utils.h" | 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test
_utils.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
| 9 #include "base/macros.h" |
9 #include "base/prefs/pref_registry_simple.h" | 10 #include "base/prefs/pref_registry_simple.h" |
10 #include "base/prefs/testing_pref_service.h" | 11 #include "base/prefs/testing_pref_service.h" |
11 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp
ression_stats.h" | 12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp
ression_stats.h" |
12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_service_client.h" | 13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_service_client.h" |
13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_test_utils.h" | 14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_test_utils.h" |
14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
igurator_test_utils.h" | 15 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
igurator_test_utils.h" |
15 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_expe
riments_stats.h" | 16 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_expe
riments_stats.h" |
16 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_inte
rceptor.h" | 17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_inte
rceptor.h" |
17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_muta
ble_config_values.h" | 18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_muta
ble_config_values.h" |
18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw
ork_delegate.h" | 19 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw
ork_delegate.h" |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 : prefs_(prefs) { | 690 : prefs_(prefs) { |
690 DCHECK(prefs); | 691 DCHECK(prefs); |
691 } | 692 } |
692 | 693 |
693 void DataReductionProxyTestContext::TestConfigStorer::StoreSerializedConfig( | 694 void DataReductionProxyTestContext::TestConfigStorer::StoreSerializedConfig( |
694 const std::string& serialized_config) { | 695 const std::string& serialized_config) { |
695 prefs_->SetString(prefs::kDataReductionProxyConfig, serialized_config); | 696 prefs_->SetString(prefs::kDataReductionProxyConfig, serialized_config); |
696 } | 697 } |
697 | 698 |
698 } // namespace data_reduction_proxy | 699 } // namespace data_reduction_proxy |
OLD | NEW |