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

Issue 17261012: Omnibox: Add Field Trial to Make Shortcuts More Aggressive (Closed)

Created:
7 years, 6 months ago by Mark P
Modified:
7 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Visibility:
Public.

Description

Omnibox: Add Field Trial to Make Shortcuts More Aggressive Change ShortcutsProvider so it can assign high relevance scores. Simultaneously, make ShortcutsProvider explicitly enforce the rule that it should not return a result with an inlineable score (>=1200). Finally, create a field trial that will allow the server to specify the maximum relevance score ShortcutsProvider can assign. Setting this to 1199 will maintain current behavior. Also, if the field trial is not enabled through the variations server, Chrome will maintain the current behavior. BUG=252032 TEST=enter omnibox inputs that you've used before to get places (and hence shortcuts will have data about them) into about:omnibox and look at the resulting scores. Try again with --force-fieldtrials=OmniboxShortcutsScoring/MaxRelevance_XXX/ (where XXX is a number) and see how the scores change. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207872

Patch Set 1 #

Patch Set 2 : fix edge case with 0 relevance #

Patch Set 3 : clean up comments #

Total comments: 2

Patch Set 4 : post-increment #

Patch Set 5 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -12 lines) Patch
M chrome/browser/autocomplete/shortcuts_provider.h View 1 chunk +8 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/shortcuts_provider.cc View 1 2 3 6 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/shortcuts_provider_unittest.cc View 1 2 3 4 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/omnibox/omnibox_field_trial.h View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/omnibox/omnibox_field_trial.cc View 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Mark P
Hi Peter, Please take a look when you get a chance. I'm finally giving Shortcuts ...
7 years, 6 months ago (2013-06-19 23:56:28 UTC) #1
Peter Kasting
* CL description: bug number missing, test line cryptic * The idea of this seems ...
7 years, 6 months ago (2013-06-20 00:06:28 UTC) #2
Mark P
> * CL description: bug number missing, test line cryptic Created bug and added link ...
7 years, 6 months ago (2013-06-20 00:23:16 UTC) #3
Peter Kasting
On 2013/06/20 00:23:16, Mark P wrote: > We were pretty much never hitting the top ...
7 years, 6 months ago (2013-06-20 00:31:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/17261012/9001
7 years, 6 months ago (2013-06-20 14:39:19 UTC) #5
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-20 15:03:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/17261012/27001
7 years, 6 months ago (2013-06-20 18:52:41 UTC) #7
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 17:32:42 UTC) #8
Message was sent while issue was closed.
Change committed as 207872

Powered by Google App Engine
This is Rietveld 408576698