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

Unified Diff: components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.cc

Issue 397793002: Eliminate CreateBooleanValue from test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge Created 6 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 side-by-side diff with in-line comments
Download patch
Index: components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.cc
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.cc
index 115f780fa47657c83e21ec57863a13250d0aabc5..e59a0af5f6f57daf788b918ba20b882feeca1c2b 100644
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.cc
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.cc
@@ -269,7 +269,7 @@ void DataReductionProxySettingsTestBase::CheckOnPrefChange(
expected_enabled ? 1 : 0);
if (managed) {
pref_service_.SetManagedPref(prefs::kDataReductionProxyEnabled,
- base::Value::CreateBooleanValue(enabled));
+ new base::FundamentalValue(enabled));
} else {
pref_service_.SetBoolean(prefs::kDataReductionProxyEnabled, enabled);
}
« no previous file with comments | « chromeos/dbus/shill_profile_client_unittest.cc ('k') | components/password_manager/core/browser/password_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698