Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shared Storage: Change from per-origin to per-site budgets
We update to using per-site privacy budgets instead of per-origin privacy budgets. This will align with enrollment enforcement, which is per-site. See also WICG/shared-storage#112 and WICG/shared-storage#118. To accomplish this, we migrate the `SharedStorageDatabase` to version 4, where the `budget_mapping` table's `context_origin` column has been renamed to `context_site`, and any existing data for version 3 databases will have each serialized origin in that column replaced by the corresponding serialization of the origin's site. We also update the names and types of other members and parameters as needed. Bug: 1218540,1485598 Change-Id: I3d956f5f2cd54a5da76a20e7d63411b3b7fc51ef
- Loading branch information