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

Unified Diff: chrome/browser/omnibox/omnibox_field_trial.h

Issue 184663002: Omnibox: Make URLs of Bookmarks Searchable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tested; works Created 6 years, 8 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: 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[];

Powered by Google App Engine
This is Rietveld 408576698