diff options
author | mpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-30 10:06:54 +0000 |
---|---|---|
committer | mpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-30 10:06:54 +0000 |
commit | de42c0055fa4bb3d42dd8d331299d2b4bee008ae (patch) | |
tree | 50f8c028de73ed383c270f4d5a8fea67ff58432f /chrome/browser/omnibox | |
parent | e231d2311113ef6dbb3daecbd7d0476033a8f65a (diff) | |
download | chromium_src-de42c0055fa4bb3d42dd8d331299d2b4bee008ae.zip chromium_src-de42c0055fa4bb3d42dd8d331299d2b4bee008ae.tar.gz chromium_src-de42c0055fa4bb3d42dd8d331299d2b4bee008ae.tar.bz2 |
Omnibox: HistoryQuick Provider Scoring: Boost Bookmarks
Give untyped bookmarked URLs a boost.
(Change the default value of an untyped visit to a bookmark from 1 to 10. A typed visit still scores 20.)
This has evaluated positively.
BUG=330214,247715
Review URL: https://codereview.chromium.org/307003002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273778 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/omnibox')
-rw-r--r-- | chrome/browser/omnibox/omnibox_field_trial.cc | 2 | ||||
-rw-r--r-- | chrome/browser/omnibox/omnibox_field_trial.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/omnibox/omnibox_field_trial.cc b/chrome/browser/omnibox/omnibox_field_trial.cc index 94f8cf7..0512978 100644 --- a/chrome/browser/omnibox/omnibox_field_trial.cc +++ b/chrome/browser/omnibox/omnibox_field_trial.cc @@ -398,7 +398,7 @@ int OmniboxFieldTrial::HQPBookmarkValue() { GetVariationParamValue(kBundledExperimentFieldTrialName, kHQPBookmarkValueRule); if (bookmark_value_str.empty()) - return 1; + return 10; // This is a best-effort conversion; we trust the hand-crafted parameters // downloaded from the server to be perfect. There's no need for handle // errors smartly. diff --git a/chrome/browser/omnibox/omnibox_field_trial.h b/chrome/browser/omnibox/omnibox_field_trial.h index 1b0a1c7..95ed7d6 100644 --- a/chrome/browser/omnibox/omnibox_field_trial.h +++ b/chrome/browser/omnibox/omnibox_field_trial.h @@ -237,7 +237,7 @@ class OmniboxFieldTrial { // 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. + // 10 if the bookmark value experiment isn't active. static int HQPBookmarkValue(); // --------------------------------------------------------- |