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

Unified Diff: components/search/search.h

Issue 2526753002: Instant cleanup: Remove abandoned EmbeddedSearch Android-only field trials (Closed)
Patch Set: 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') | components/search/search.cc » ('J')
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 8969e81d0e02c373e17e89791fdefb603e104206..40e16f61fab3971782f3f37a10a2e10a11b6a391 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
@@ -74,12 +75,12 @@ std::string InstantExtendedEnabledParam(bool for_search);
// 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') | components/search/search.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698