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

Unified Diff: chrome/browser/search/search.h

Issue 330123003: Set up a field trial flag to prerender Instant search base url on omnibox focus event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months 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 | chrome/browser/search/search.cc » ('j') | chrome/browser/search/search.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | chrome/browser/search/search.cc » ('j') | chrome/browser/search/search.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698