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

Unified Diff: chrome/browser/autocomplete/history_quick_provider_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/autocomplete/history_quick_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/history_quick_provider_unittest.cc b/chrome/browser/autocomplete/history_quick_provider_unittest.cc
index d5c414dec316146d7ab16ff474d1368f7fcae1fb..69fc266507943ca2040a4cef5c7ce4d2a2528cd9 100644
--- a/chrome/browser/autocomplete/history_quick_provider_unittest.cc
+++ b/chrome/browser/autocomplete/history_quick_provider_unittest.cc
@@ -591,7 +591,7 @@ TEST_F(HistoryQuickProviderTest, CullSearchResults) {
TemplateURLServiceFactory::GetForProfile(profile_.get());
TemplateURL* template_url = new TemplateURL(profile_.get(), data);
template_url_service->Add(template_url);
- template_url_service->SetDefaultSearchProvider(template_url);
+ template_url_service->SetUserSelectedDefaultSearchProvider(template_url);
template_url_service->Load();
// A search results page should not be returned when typing a query.

Powered by Google App Engine
This is Rietveld 408576698