| 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
|
|
|