commit | 48830ff177ead1b9bf41de1602fc1fa58200e031 | [log] [tgz] |
---|---|---|
author | Dan Harrington <harringtond@chromium.org> | Mon Apr 05 22:47:01 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 05 22:47:01 2021 |
tree | 17e3e1da09ae3dc89e9a6b6eb0bf0f27b7dcd499 | |
parent | dd9eb0181451becf0d2afbecd98a4ce5a0ef06d0 [diff] |
Add HistoryService::GetDailyVisitsToHost This function counts total visits and number of days visited for a host and time range. It will be used for the WebFeed feature being developed. Note that there were several places in visit_database.cc where logic was duplicated to detect visible transitions. I've added a TRANSITION_IS_VISIBLE SQL string and accompanying function BindTransitionIsVisibleFields to remove the duplication. Bug: 1152592 Change-Id: I70c4e8776bfdab983eb98b521b617bc8be853451 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2794723 Reviewed-by: Dan H <harringtond@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Victor Costan <pwnall@chromium.org> Reviewed-by: Carlos Knippschild <carlosk@chromium.org> Commit-Queue: Dan H <harringtond@chromium.org> Cr-Commit-Position: refs/heads/master@{#869316}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.