commit | cf0596b83b556dc0a9543c2c7ec8f212e99a8105 | [log] [tgz] |
---|---|---|
author | Zhiyuan Cai <zhiyuancai@chromium.org> | Wed Sep 21 18:04:36 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 21 18:04:36 2022 |
tree | 9c6d5551745fea8d026c872642c1727909736cf0 | |
parent | 788013a0e1447c291ce78a432a697cf2bc7af0e8 [diff] |
[Subscriptions] Delete the whole storage before every sync We should delete the whole storage before every sync to ensure the local cache is up to date after the sync. Otherwise, we may have async issues since we only compare each subscription's type, id type and id, while their timestamp, user seen offer, etc. could also be different. Bug: 1366041 Change-Id: I89ab3af0126aa6dd2b450ba9a3ff7052682345ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3906267 Reviewed-by: Matthew Jones <mdjones@chromium.org> Commit-Queue: Zhiyuan Cai <zhiyuancai@chromium.org> Cr-Commit-Position: refs/heads/main@{#1049743}
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.