Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Side by Side Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.h

Issue 2136563002: Remove calls to MessageLoop::current() in base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: restore dns_config_service_posix_unittest.cc Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/message_loop/message_loop.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 "components/prefs/testing_pref_service.h"
14 #include "net/log/test_net_log.h" 15 #include "net/log/test_net_log.h"
15 #include "net/url_request/test_url_fetcher_factory.h" 16 #include "net/url_request/test_url_fetcher_factory.h"
16 #include "net/url_request/url_request_test_util.h" 17 #include "net/url_request/url_request_test_util.h"
17 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
19 20
20 class PrefService; 21 class PrefService;
21 class TestingPrefServiceSimple; 22 class TestingPrefServiceSimple;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 bool promo_allowed, 98 bool promo_allowed,
98 bool holdback) override { 99 bool holdback) override {
99 return DataReductionProxySettingsTestBase::ResetSettings<C>( 100 return DataReductionProxySettingsTestBase::ResetSettings<C>(
100 allowed, fallback_allowed, promo_allowed, holdback); 101 allowed, fallback_allowed, promo_allowed, holdback);
101 } 102 }
102 }; 103 };
103 104
104 } // namespace data_reduction_proxy 105 } // namespace data_reduction_proxy
105 106
106 #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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698