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

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

Issue 67553002: Omnibox Field Trial: Make HQP Score Bookmarks More Highly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 50b8701334f6903ba2efe80dcc29223238cffee9..b3141ad99c21292f38be48e9bc4cf87de45e2719 100644
--- a/chrome/browser/omnibox/omnibox_field_trial.h
+++ b/chrome/browser/omnibox/omnibox_field_trial.h
@@ -162,6 +162,16 @@ class OmniboxFieldTrial {
AutocompleteInput::PageClassification current_page_classification);
// ---------------------------------------------------------
+ // For the HQPBookmarkValue experiment that's part of the
+ // bundled omnibox field trial.
+
+ // Returns the value an untyped visit to a bookmark should receive.
+ // Compare this value with the default of 1 for non-bookmarked untyped
+ // visits to pages and the default of 20 for typed visits. Returns
+ // 1 if the bookmark value experiment isn't active.
+ static int HQPBookmarkValue();
+
+ // ---------------------------------------------------------
// Exposed publicly for the sake of unittests.
static const char kBundledExperimentFieldTrialName[];
// Rule names used by the bundled experiment.
@@ -169,6 +179,7 @@ class OmniboxFieldTrial {
static const char kSearchHistoryRule[];
static const char kDemoteByTypeRule[];
static const char kReorderForLegalDefaultMatchRule[];
+ static const char kHQPBookmarkValueRule[];
// Rule values.
static const char kReorderForLegalDefaultMatchRuleEnabled[];

Powered by Google App Engine
This is Rietveld 408576698