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_SETTIN
GS_TEST_UTILS_H_ | 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_SETTIN
GS_TEST_UTILS_H_ |
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_SETTIN
GS_TEST_UTILS_H_ | 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_SETTIN
GS_TEST_UTILS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/prefs/testing_pref_service.h" |
12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" | 13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" |
13 #include "components/prefs/testing_pref_service.h" | |
14 #include "net/log/test_net_log.h" | 14 #include "net/log/test_net_log.h" |
15 #include "net/url_request/test_url_fetcher_factory.h" | 15 #include "net/url_request/test_url_fetcher_factory.h" |
16 #include "net/url_request/url_request_test_util.h" | 16 #include "net/url_request/url_request_test_util.h" |
17 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
19 | 19 |
20 class PrefService; | 20 class PrefService; |
21 class TestingPrefServiceSimple; | 21 class TestingPrefServiceSimple; |
22 | 22 |
23 namespace data_reduction_proxy { | 23 namespace data_reduction_proxy { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 bool promo_allowed, | 98 bool promo_allowed, |
99 bool holdback) override { | 99 bool holdback) override { |
100 return DataReductionProxySettingsTestBase::ResetSettings<C>( | 100 return DataReductionProxySettingsTestBase::ResetSettings<C>( |
101 allowed, fallback_allowed, promo_allowed, holdback); | 101 allowed, fallback_allowed, promo_allowed, holdback); |
102 } | 102 } |
103 }; | 103 }; |
104 | 104 |
105 } // namespace data_reduction_proxy | 105 } // namespace data_reduction_proxy |
106 | 106 |
107 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_SET
TINGS_TEST_UTILS_H_ | 107 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_SET
TINGS_TEST_UTILS_H_ |
OLD | NEW |