commit | 820b480592ca978073101771414d61203063cfbc | [log] [tgz] |
---|---|---|
author | Mohamed Amir Yosef <mamir@chromium.org> | Mon Dec 05 14:36:46 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 05 14:36:46 2022 |
tree | 939c750774b95e84aff38d114911eed6d4a03a7c | |
parent | ba81d67978e28bb64d8624eb875c7e120518e85d [diff] |
[Passwords] Store DB primary key in PasswordForm This CL is adding the a new int field to the PasswordForm struct that carries the DB primary key. This will provide an organic way to uniquely identify passwords in other layers such as UI. The field is add an optional field since it will be absent for forms that aren't yet stored in the DB (e.g. added from settings) or on platforms that don't use the logins database as a storage layer. This also updates the PasswordStoreChange() class by omitting the dedicated field for carrying the primary and relying on the new field inside PasswordForm Bug: 1330906 Change-Id: I76e2e4856767ab491de28b1482f0685d1e1074b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4075772 Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1079227}
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.