Index: components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h |
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h b/components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h |
index b24f239ceb011b9ed208b3a62e6badd1bb0a65a9..0ece527aee589e038befe1becee6b7973050b6de 100644 |
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h |
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h |
@@ -157,11 +157,15 @@ class DataReductionProxySettingsTestBase : public testing::Test { |
bool expected_fallback_restricted); |
void CheckOnPrefChange(bool enabled, bool expected_enabled, bool managed); |
void CheckInitDataReductionProxy(bool enabled_at_startup); |
+ void RegisterSyntheticFieldTrialCallback(bool proxy_enabled) { |
+ proxy_enabled_ = proxy_enabled; |
+ } |
TestingPrefServiceSimple pref_service_; |
scoped_ptr<DataReductionProxySettings> settings_; |
scoped_ptr<TestDataReductionProxyParams> expected_params_; |
base::Time last_update_time_; |
+ bool proxy_enabled_; |
}; |
// Test implementations should be subclasses of an instantiation of this |