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

Unified Diff: components/search_engines/template_url_service.h

Issue 2367373003: [Android] Allow setting recently visited search engines as default search engine (Closed)
Patch Set: Reorganize template_url_serivce_android code. Created 4 years, 1 month 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_service.h
diff --git a/components/search_engines/template_url_service.h b/components/search_engines/template_url_service.h
index 801ca6364295522dc093aff93e476256ab2f7a01..58970e4e59e926117b9d729584e858fca262d668 100644
--- a/components/search_engines/template_url_service.h
+++ b/components/search_engines/template_url_service.h
@@ -133,6 +133,10 @@ class TemplateURLService : public WebDataServiceConsumer,
const GURL& url,
TemplateURL** template_url_to_replace);
+ // Retruns whether |template_url| should be shown in the list of engines
+ // prepopulated by Chrome browser.
Peter Kasting 2016/11/23 21:30:27 Nit: Typo + grammar Because you are splitting the
ltian 2016/11/29 02:44:03 Done.
+ bool ShowInPrepopulatedList(const TemplateURL* template_url);
+
// Returns whether |template_url| should be shown in the list of engines
// most likely to be selected as a default engine. This is meant to highlight
// the current default, as well as the other most likely choices of default

Powered by Google App Engine
This is Rietveld 408576698