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

Unified Diff: chrome/browser/ui/search_engines/template_url_table_model.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/ui/search_engines/template_url_table_model.cc
diff --git a/chrome/browser/ui/search_engines/template_url_table_model.cc b/chrome/browser/ui/search_engines/template_url_table_model.cc
index a8657d23397dc2e7354a2dc2d44a5ef72c472d9b..e7058f7169f2cce1a04a67b7c0193c79750baa79 100644
--- a/chrome/browser/ui/search_engines/template_url_table_model.cc
+++ b/chrome/browser/ui/search_engines/template_url_table_model.cc
@@ -342,7 +342,7 @@ int TemplateURLTableModel::MakeDefaultTemplateURL(int index) {
return -1;
template_url_service_->RemoveObserver(this);
- template_url_service_->SetDefaultSearchProvider(keyword);
+ template_url_service_->SetUserSelectedDefaultSearchProvider(keyword);
template_url_service_->AddObserver(this);
// The formatting of the default engine is different; notify the table that
« no previous file with comments | « chrome/browser/ui/search/search_tab_helper_unittest.cc ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698