Index: chrome/browser/omnibox/omnibox_field_trial.h |
diff --git a/chrome/browser/omnibox/omnibox_field_trial.h b/chrome/browser/omnibox/omnibox_field_trial.h |
index d555a9fcfba920f0b34a820936c126dff120f10f..4f11ddf689be46f51e1a2f8bd259e61669e8c4ac 100644 |
--- a/chrome/browser/omnibox/omnibox_field_trial.h |
+++ b/chrome/browser/omnibox/omnibox_field_trial.h |
@@ -112,6 +112,16 @@ class OmniboxFieldTrial { |
// all query suggestions from search history. |
static bool SearchHistoryDisable(); |
+ // --------------------------------------------------------- |
+ // For the OmniboxReorderForLegalDefaultMatch field trial. |
+ |
+ // Returns true if the omnibox will reorder matches so that a match |
+ // that's allowed to be the default match will appear first. This means |
+ // AutocompleteProviders can score matches however they desire without |
+ // regard to making sure the top match when all the matches from all |
+ // providers are merged is a legal default match. |
+ static bool InReorderForLegalDefaultMatchGroup(); |
+ |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(OmniboxFieldTrial); |
}; |