Chromium Code Reviews| Index: chrome/browser/search/search.h |
| diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h |
| index 3cbd7d8c01d59765f49ef27c7e2253056c37bcae..ee2925cfe78d4a2e581b25815cecfc4b57a3c707 100644 |
| --- a/chrome/browser/search/search.h |
| +++ b/chrome/browser/search/search.h |
| @@ -166,6 +166,10 @@ GURL GetSearchResultPrefetchBaseURL(Profile* profile); |
| // prefetch high-confidence search suggestions. |
| bool ShouldPrefetchSearchResults(); |
| +// Returns true if 'prefetch_instant_search_results' flag is set to true to |
| +// prerender instant search base page on focusing omnibox. |
| +bool ShouldPrerenderInstantSearchBaseOnFocus(); |
|
kmadhusu
2014/06/12 21:12:38
How about "bool ShouldPrerenderInstantSearchBaseUR
kmadhusu
2014/06/12 21:12:38
Please add a new unit test for this function.
sidharthms
2014/06/12 23:33:34
Done.
sidharthms
2014/06/12 23:33:34
Done.
|
| + |
| // 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. |
| bool ShouldReuseInstantSearchBasePage(); |