Index: components/omnibox/browser/omnibox_field_trial.h |
diff --git a/components/omnibox/browser/omnibox_field_trial.h b/components/omnibox/browser/omnibox_field_trial.h |
index 82185aaf3dec36da126ca7e3e804061fabc24a43..59e35e1483cb89408da1d8870486a5bbacd8bc92 100644 |
--- a/components/omnibox/browser/omnibox_field_trial.h |
+++ b/components/omnibox/browser/omnibox_field_trial.h |
@@ -302,6 +302,15 @@ class OmniboxFieldTrial { |
// value of 0.8 if no threshold is specified in the field trial. |
static float HQPExperimentalTopicalityThreshold(); |
+ // --------------------------------------------------------- |
+ // For experitment to limit HQP url indexing that's part of the bundled |
Mark P
2017/05/10 17:23:09
nit: typo (experitment)
ssid
2017/05/10 19:47:58
Done.
|
+ // omnibox field trial. |
+ |
+ // Returns the maximum number of history urls to index for HQP at the startup. |
+ // Note: this limit is only applied at startup and more urls can be indexed |
+ // during the session. Returns -1 if limit is not set by trials. |
+ static int MaxNumHQPUrlsIndexedAtStartup(); |
+ |
// --------------------------------------------------------- |
// For the HQPFixFrequencyScoring experiment that's part of the |
// bundled omnibox field trial. |
@@ -489,6 +498,10 @@ class OmniboxFieldTrial { |
static const char kPhysicalWebZeroSuggestBaseRelevanceParam[]; |
static const char kPhysicalWebAfterTypingBaseRelevanceParam[]; |
+ // Parameter name used by the experiment that limits the number of history |
+ // urls indexed for suggestions. |
+ static const char kMaxNumHQPUrlsIndexedAtStartupParam[]; |
+ |
// Parameter names used by the experiment redirecting Zero Suggestion requests |
// to a service provided by the Chrome team. |
static const char kZeroSuggestRedirectToChromeServerAddressParam[]; |