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 95913f9d917ea6ff362820eac10ec0cbd0ade751..1b0a1c74c08edd0cb45309e44e65c810416e101c 100644 |
--- a/chrome/browser/omnibox/omnibox_field_trial.h |
+++ b/chrome/browser/omnibox/omnibox_field_trial.h |
@@ -259,6 +259,17 @@ class OmniboxFieldTrial { |
static bool HQPAllowMatchInSchemeValue(); |
// --------------------------------------------------------- |
+ // For the BookmarksIndexURLs experiment that's part of the |
+ // bundled omnibox field trial. |
+ |
+ // Returns true if BookmarkIndex should index the URL of bookmarks |
+ // (not only the titles) and search for / mark matches in the URLs, |
+ // and BookmarkProvider should score bookmarks based on both the |
+ // matches in bookmark title and URL. Returns false if the bookmarks |
+ // index URLs experiment isn't active. |
+ static bool BookmarksIndexURLsValue(); |
+ |
+ // --------------------------------------------------------- |
// Exposed publicly for the sake of unittests. |
static const char kBundledExperimentFieldTrialName[]; |
// Rule names used by the bundled experiment. |
@@ -271,6 +282,7 @@ class OmniboxFieldTrial { |
static const char kHQPAllowMatchInSchemeRule[]; |
static const char kZeroSuggestRule[]; |
static const char kZeroSuggestVariantRule[]; |
+ static const char kBookmarksIndexURLsRule[]; |
// Parameter names used by the HUP new scoring experiments. |
static const char kHUPNewScoringEnabledParam[]; |