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

Unified Diff: components/search/search.h

Issue 2526753002: Instant cleanup: Remove abandoned EmbeddedSearch Android-only field trials (Closed)
Patch Set: review 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
« no previous file with comments | « no previous file | components/search/search.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search/search.h
diff --git a/components/search/search.h b/components/search/search.h
index fa2b15c21b4e5828e7c3d1a6fa4b4f22aaecac58..0f0d5e364cb5af17cfc5be75bcf5c8b48e9d5a51 100644
--- a/components/search/search.h
+++ b/components/search/search.h
@@ -16,7 +16,8 @@ class TemplateURL;
namespace search {
-// Returns whether the Instant Extended API is enabled.
+// Returns whether the Instant Extended API is enabled. This is always true on
+// desktop and false on mobile.
bool IsInstantExtendedAPIEnabled();
// Returns the value to pass to the &espv CGI parameter when loading the
@@ -70,12 +71,12 @@ std::string InstantExtendedEnabledParam();
// the returned string to be non-empty.
std::string ForceInstantResultsParam(bool for_prerender);
-// Returns true if 'prefetch_results' flag is set to true in field trials to
-// prefetch high-confidence search suggestions.
+// Returns whether to prefetch high-confidence search suggestions. True iff
+// the Instant Extended API is enabled.
bool ShouldPrefetchSearchResults();
-// Returns true if 'reuse_instant_search_base_page' flag is set to true in field
-// trials to reuse the prerendered page to commit any search query.
+// Returns whether to reuse the prerendered page to commit any search query.
+// True iff the Instant Extended API is enabled.
bool ShouldReuseInstantSearchBasePage();
// |url| should either have a secure scheme or have a non-HTTPS base URL that
« no previous file with comments | « no previous file | components/search/search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698