[Passwords] Fix for recycling primary keys in login database
Primary keys of the login database are used as storage key for Password USS Sync. Currently, they are recycled and hence are causing Sync to commit entities with wrong client tags. This CL fixes that by adding the AUTOINCREMENT flag to the primary key column. Since the SQLTableBuilder is currenly only used for creating PasswordManager databases, and for simplicity, this CL is restricting the primary key to be a single INTEGER column. Bug: 1016718,902349 Change-Id: I931826547b92566f631b4ca12b53039be3ceb491 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872099 Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Reviewed-by:Mikel Astiz <mastiz@chromium.org> Reviewed-by:
Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#708273}
Showing
Please register or sign in to comment