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

Unified Diff: components/search_engines/template_url_prepopulate_data_unittest.cc

Issue 383263005: Remove more CreateIntegerValue calls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/SetBoolean/SetInteger 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/search_engines/template_url_prepopulate_data_unittest.cc
diff --git a/components/search_engines/template_url_prepopulate_data_unittest.cc b/components/search_engines/template_url_prepopulate_data_unittest.cc
index b1906c3ab11da684262f5748b2bb0ab892ffb807..28da1f1c1664eb33afa943aa14d37bfb11ad4c50 100644
--- a/components/search_engines/template_url_prepopulate_data_unittest.cc
+++ b/components/search_engines/template_url_prepopulate_data_unittest.cc
@@ -116,7 +116,7 @@ TEST_F(TemplateURLPrepopulateDataTest, UniqueIDs) {
// override the built-in ones.
TEST_F(TemplateURLPrepopulateDataTest, ProvidersFromPrefs) {
prefs_.SetUserPref(prefs::kSearchProviderOverridesVersion,
- base::Value::CreateIntegerValue(1));
+ new base::FundamentalValue(1));
base::ListValue* overrides = new base::ListValue;
scoped_ptr<base::DictionaryValue> entry(new base::DictionaryValue);
// Set only the minimal required settings for a search provider configuration.
@@ -202,7 +202,7 @@ TEST_F(TemplateURLPrepopulateDataTest, ProvidersFromPrefs) {
TEST_F(TemplateURLPrepopulateDataTest, ClearProvidersFromPrefs) {
prefs_.SetUserPref(prefs::kSearchProviderOverridesVersion,
- base::Value::CreateIntegerValue(1));
+ new base::FundamentalValue(1));
base::ListValue* overrides = new base::ListValue;
base::DictionaryValue* entry(new base::DictionaryValue);
// Set only the minimal required settings for a search provider configuration.
« no previous file with comments | « components/search_engines/default_search_manager_unittest.cc ('k') | components/url_matcher/url_matcher_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698