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

Unified Diff: components/search_engines/template_url_service.h

Issue 2555513003: [Android] Sort custom search engines based on last visited time and display only top 3 most recentl… (Closed)
Patch Set: Created 4 years 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 b387f7bef8f1d5ac6cf201e83d1c83e47ffe7036..2bb3c173efde872597e75742cd5d51f0e8ee4d1b 100644
--- a/components/search_engines/template_url_service.h
+++ b/components/search_engines/template_url_service.h
@@ -137,10 +137,11 @@ class TemplateURLService : public WebDataServiceConsumer,
// prepopulate list or created by policy.
bool IsPrepopulatedOrCreatedByPolicy(const TemplateURL* template_url);
- // Returns whether |template_url| is the current default or return true for
- // IsPrepopulatedOrCreatedByPolicy(). This is meant to highlight the current,
- // default, as well as the other most likely choices of default engine,
- // separately from a full list of all TemplateURLs (which might be very long).
+ // 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
+ // engine, separately from a full list of all TemplateURLs (which might be
+ // very long).
bool ShowInDefaultList(const TemplateURL* template_url);
// Adds to |matches| all TemplateURLs whose keywords begin with |prefix|,

Powered by Google App Engine
This is Rietveld 408576698