-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[memories] [persist-clusters] Add history/core methods.
This CL does 3 things: 1) Splits HB::ToAnnotatedVisits() from HB::GetAnnotatedVisits() so that the former can be reused. 2) Removes unused methods. Previous CLs added history/core methods in preparation for persistence work. But due to changes in how pagination and front-to-back traversal, some will no longer be used. Specifically, removes: - DB::GetRecentAnnotatedVisitIds() - DB::GetClusters() - DB::GetRecentClusterIds() - HB::GetClusters() - HB::GetRecentClusterIdsAndAnnotatedVisits() - HS::GetRecentClusterIdsAndAnnotatedVisits() - HS::GetClusters() 3) Adds the new history/core methods we plan to use. Specifically: - DB::GetMostRecentClusterIds() - DB::DeleteClusters() - HB::ReplaceClusters() - HB::GetMostRecentClusters() - HB::GetCluster() - HB::ReplaceClusters() - HS::ReplaceClusters() - HS::GetMostRecentClusters() More details about cluster persistence: https://docs.google.com/document/d/1bwDXx_p9jt_jLVzSVzLBSFg5gyYyk2QCu2zntQqP-xo/edit Bug: 1184879, 1184875, 1171352 Change-Id: Iabc08e5dd5eecf88e2c0159a804c3e72baabb851 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3561325 Reviewed-by: Tommy Li <tommycli@chromium.org> Commit-Queue: manuk hovanesian <manukh@chromium.org> Cr-Commit-Position: refs/heads/main@{#988781}
- Loading branch information
manukh
authored and
Chromium LUCI CQ
committed
Apr 5, 2022
1 parent
0d2e663
commit 602610e
Showing
11 changed files
with
347 additions
and
479 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.