commit | 15cf96733defc7816f5bdd495711fe1c501c2d64 | [log] [tgz] |
---|---|---|
author | Mohamed Amir Yosef <mamir@chromium.org> | Thu Jan 17 15:27:18 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 17 15:27:18 2019 |
tree | fcfde825428bfba52ca849c910f9fc7ac01f82bc | |
parent | 49fa32cb03e3f44a37a6e97f404b2eacbd9d3bdf [diff] |
[Sync:USS] LoginDatabase::RemoveLogins*() should return a ChangeList This is a mechanical change that only moves code around to have a more consistent LoginDatabase API. For consistency with AddLogin and UpdateLogin, RemoveLogin* methods should return a PasswordStoreChangeList. This is in preparation for a later patch that would add the primary key to the PasswordStoreChangeList. In addition, this changes makes GetLoginsSyncedBetween() private and replaces push_back with emplace_back to save moving the relatively large struct PasswordStoreChangeList as much as possible. Bug: 902349 Change-Id: Ided5923fbd95768ae3f91179d1dc3648725cbe0b Reviewed-on: https://chromium-review.googlesource.com/c/1409550 Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org> Reviewed-by: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#623690}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .