commit | fc67119c30aa41fddb48a0850866a710fb221ab8 | [log] [tgz] |
---|---|---|
author | Benjamin Williams <bwwilliams@google.com> | Tue Jan 17 18:40:17 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 17 18:40:17 2023 |
tree | 6257e43f7b92351cccf6d235903cced6d90461d6 | |
parent | cbf2e954ffae8b38a1cf754d18af2e61c40ddccb [diff] |
[iOS] Enable Smart Sorting to add/remove destinations. This change enables the Smart Sorting algorithm to support adding new destinations, or removing existing destinations, by introducing the method `runHistoryDiagnostic`. `runHistoryDiagnostic` is called before the Smart Sorting algorithm is run and detects whether or not the destinations list has changed between presentations of the overflow menu. When `runHistoryDiagnostic` detects the carousel and ranking differ, it ensures the ranking gets updated to reflect the items currently in the carousel. This change will be gated behind the feature `kSmartSortingPriceTrackingDestination`, as the Price Tracking destination is the first new destination (with Smart Sorting) to be added to the overflow menu. Feature demo (video): https://drive.google.com/open?id=1Qs3vTh3Lz_GB7PcdrCuQEisTJ5xmYvCw&authuser=0&resourcekey=0-29BLMhhJcj5UCaFOOrjCRg&usp=drive_link Change-Id: I9fc4943708a466869d652db55fc3e51385b83dc7 Bug: 1405265 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4133648 Reviewed-by: Rohit Rao <rohitrao@chromium.org> Commit-Queue: Benjamin Williams <bwwilliams@google.com> Cr-Commit-Position: refs/heads/main@{#1093416}
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.
If you found a bug, please file it at https://crbug.com/new.