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

Issue 1498473003: Omnibox: Add Field Trial to Skip HistoryURL Provider Searching its Database (Closed)

Created:
5 years ago by Mark P
Modified:
5 years ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Omnibox: Add Field Trial to Skip HistoryURL Provider Searching its Database I'm hopeful this will work because then it can simplify the scoring code. The experiment for the HUP-like-mode in HQP seemed promising https://code.google.com/p/chromium/issues/detail?id=490812 (i.e., neutral). Let's see if we can disable HUP if that mode is enabled. We do lose some features. For instance, HUP culls redirects. HQP does not. This means that if HUP manages to find three good sites post-redirect-culling, HQP may not be able to because it may have some equivalent (redirect) URLs laying around. Note that HUP still uses its database implicitly. This experiment will not test whether we can remove the database entirely. The HUP still uses its database for identify typed hosts or shorter matches for instance. BUG= Committed: https://crrev.com/698889eb869e54529dd2fdfb684f10b6b03a5e8a Cr-Commit-Position: refs/heads/master@{#362922}

Patch Set 1 #

Total comments: 2

Patch Set 2 : expand if clause #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -31 lines) Patch
M components/omnibox/browser/history_url_provider.h View 1 chunk +9 lines, -0 lines 0 comments Download
M components/omnibox/browser/history_url_provider.cc View 1 3 chunks +33 lines, -29 lines 0 comments Download
M components/omnibox/browser/omnibox_field_trial.h View 3 chunks +9 lines, -2 lines 0 comments Download
M components/omnibox/browser/omnibox_field_trial.cc View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Mark P
Peter, please take a look at your leisure. thanks, mark
5 years ago (2015-12-02 23:31:31 UTC) #3
Peter Kasting
LGTM https://codereview.chromium.org/1498473003/diff/1/components/omnibox/browser/history_url_provider.cc File components/omnibox/browser/history_url_provider.cc (right): https://codereview.chromium.org/1498473003/diff/1/components/omnibox/browser/history_url_provider.cc#newcode747 components/omnibox/browser/history_url_provider.cc:747: SortAndDedupMatches(&params->matches); Can we put this block under the ...
5 years ago (2015-12-03 04:43:40 UTC) #4
Mark P
https://codereview.chromium.org/1498473003/diff/1/components/omnibox/browser/history_url_provider.cc File components/omnibox/browser/history_url_provider.cc (right): https://codereview.chromium.org/1498473003/diff/1/components/omnibox/browser/history_url_provider.cc#newcode747 components/omnibox/browser/history_url_provider.cc:747: SortAndDedupMatches(&params->matches); On 2015/12/03 04:43:40, Peter Kasting wrote: > Can ...
5 years ago (2015-12-03 05:14:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1498473003/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1498473003/50001
5 years ago (2015-12-03 05:15:17 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:50001)
5 years ago (2015-12-03 06:51:10 UTC) #10
commit-bot: I haz the power
5 years ago (2015-12-03 06:52:09 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/698889eb869e54529dd2fdfb684f10b6b03a5e8a
Cr-Commit-Position: refs/heads/master@{#362922}

Powered by Google App Engine
This is Rietveld 408576698