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

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: Peter's comments 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 01fc08e47a39e52d4567638fb7e7e28147db4724..c30c7518ed1a079dd999335ca62ddae2178028a4 100644
--- a/chrome/browser/omnibox/omnibox_field_trial.h
+++ b/chrome/browser/omnibox/omnibox_field_trial.h
@@ -175,6 +175,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.
@@ -183,6 +193,7 @@ class OmniboxFieldTrial {
static const char kDemoteByTypeRule[];
static const char kUndemotableTopTypeRule[];
static const char kReorderForLegalDefaultMatchRule[];
+ static const char kHQPBookmarkValueRule[];
// Rule values.
static const char kReorderForLegalDefaultMatchRuleEnabled[];
« no previous file with comments | « chrome/browser/history/scored_history_match_unittest.cc ('k') | chrome/browser/omnibox/omnibox_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698