Hi,I am trying to understand the exact conditions for when a URL from one's history is displayed as a suggestion in the omnibox.Here is what I understand so far:* The AutocompleteProvider class gives suggestions to the omnibox.* HistoryProvider is a subclass of AutocompleteProvider that specifically sends history suggestions.* HistoryProvider has two non-test subclasses, HistoryQuickProvider and HistoryURLProvider.* Both HistoryQuick and HistoryURL providers use the kLowQualityMatch constants (I am inferring this from the "If a URL doesn't meet any of these bars, it's de-indexed. Neither HQP nor HUP will return it." and "Just loosening them in RowQualifiesAsSignificant() will affect both HUP and HQP" in https://bugs.chromium.org/p/chromium/issues/detail?id=692386)
* HistoryURL seems to be older than HistoryQuick, and the former might be replaced entirely by the latter in the future (from https://bugs.chromium.org/p/chromium/issues/detail?id=279386 and https://groups.google.com/a/chromium.org/d/msg/chromium-dev/isbaUGoVJ4Q/ZcmIDHqCBAAJ and https://cs.chromium.org/chromium/src/components/omnibox/browser/history_url_provider.cc?l=354-355&rcl=1cfabf4b039daf2ad18fdae2cd8d2531d209439d)
* HistoryURL seems to have both a synchronous and asynchronous step https://cs.chromium.org/chromium/src/components/omnibox/browser/history_url_provider.h?l=38&rcl=aa6aaad888ee4619f709de684992cac9b5d69075* HistoryQuick seems to only run synchronously https://cs.chromium.org/chromium/src/components/omnibox/browser/history_quick_provider.h?l=22&rcl=aa6aaad888ee4619f709de684992cac9b5d69075
I have not tried digging into the code much, relying mainly on bug/mailing list postings and comments in the code.My main questions are:1. When does a URL from the history show up in the omnibox? Is it URLs visited in the last 3 days or visited at least 4 times or typed at least once?
What are the rules for when a keyword matches?
2. Do HistoryURL and HistoryQuick differ in the URLs they return, or only in terms of speed and synchronicity? (They seem to differ in terms of URLs returned, based on playing around with chrome://omnibox/, and people seem to talk about scoring differences, e.g. https://bugs.chromium.org/p/chromium/issues/detail?id=692386 .) If they differ in the URLs returned, what is the difference?
3. What are the exceptions mentioned in "even those providers have exceptions" in https://groups.google.com/a/chromium.org/d/msg/chromium-dev/isbaUGoVJ4Q/z-yTDfWeBAAJ (One possible exception I've found is when the session length is longer than three days, and one has visited the URL more than three days ago during the current session.)
4. How up-to-date is the material on https://www.chromium.org/omnibox-history-provider ?
--Issa
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/7d2259f6-4074-44ea-b9e4-e8f359a4a722%40chromium.org.