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

Unified Diff: chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc

Issue 231863008: Rename SetDefaultSearchProvider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 8 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: chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc
diff --git a/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc b/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc
index ae203dc777c4cc00599b1519b99df3e397f0495c..f01caf9dffd3c29f2ba105c9ae8c0a93073a3110 100644
--- a/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc
+++ b/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc
@@ -371,7 +371,7 @@ TEST_F(AutomaticProfileResetterDelegateTest,
scoped_ptr<TemplateURL> owned_custom_dsp(CreateTestTemplateURL());
TemplateURL* custom_dsp = owned_custom_dsp.get();
template_url_service->Add(owned_custom_dsp.release());
- template_url_service->SetDefaultSearchProvider(custom_dsp);
+ template_url_service->SetUserSelectedDefaultSearchProvider(custom_dsp);
PrefService* prefs = profile()->GetPrefs();
ASSERT_TRUE(prefs);
@@ -446,7 +446,8 @@ TEST_F(AutomaticProfileResetterDelegateTest,
template_url_service->GetTemplateURLForKeyword(
base::ASCIIToUTF16(keyword));
ASSERT_TRUE(search_engine);
- template_url_service->SetDefaultSearchProvider(prepopulated_engines[i]);
+ template_url_service->SetUserSelectedDefaultSearchProvider(
+ prepopulated_engines[i]);
PrefService* prefs = profile()->GetPrefs();
ASSERT_TRUE(prefs);
« no previous file with comments | « chrome/browser/chrome_content_browser_client_unittest.cc ('k') | chrome/browser/search/instant_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698