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

Unified Diff: components/omnibox/browser/omnibox_field_trial.cc

Issue 2717893002: Omnibox - Warm Up PSuggest on Focus (Closed)
Patch Set: revert accidentally added changes Created 3 years, 10 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
Index: components/omnibox/browser/omnibox_field_trial.cc
diff --git a/components/omnibox/browser/omnibox_field_trial.cc b/components/omnibox/browser/omnibox_field_trial.cc
index f1fa8e04769e215ef744dba4dc3fe861cef575e8..24fbd8daeb6c7496b2710b75bddc31f42176636a 100644
--- a/components/omnibox/browser/omnibox_field_trial.cc
+++ b/components/omnibox/browser/omnibox_field_trial.cc
@@ -53,6 +53,14 @@ const base::Feature kEnableClipboardProvider {
#endif
};
+// Feature to enable the search provider to send a request to the suggest
+// server on focus. This allows the suggest server to warm up, by, for
+// example, loading per-user models into memory. Having a per-user model
+// in memory allows the suggest server to respond more quickly with
+// personalized suggestions as the user types.
+const base::Feature kSearchProviderWarmUpOnFocus{
+ "OmniboxWarmUpSearchProviderOnFocus", base::FEATURE_DISABLED_BY_DEFAULT};
+
} // namespace omnibox
namespace {

Powered by Google App Engine
This is Rietveld 408576698