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 44db860cd924955d95cfdb970be2ddbdbf35e7f3..8ad254eef5ffa86997ca6ec39139d3d27f40ad58 100644 |
--- a/chrome/browser/omnibox/omnibox_field_trial.h |
+++ b/chrome/browser/omnibox/omnibox_field_trial.h |
@@ -268,6 +268,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. |
@@ -281,6 +292,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[]; |