Fix UpdateLogin for GNOME password Keyring.
commit3d2ab39099e766ac5eee5e151a980d4023de1758
authorvasilii <vasilii@chromium.org>
Tue, 11 Aug 2015 15:45:20 +0000 (11 08:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 11 Aug 2015 15:46:05 +0000 (11 15:46 +0000)
treea626fdb1c0f6b4c6bbc9fd1ff3b79f3b8c9c4129
parent411de5c8ce7feaeb3f1d56881a0ea1db7a9aee77
Fix UpdateLogin for GNOME password Keyring.

It's a follow up to https://codereview.chromium.org/1280863003/. The bug was that RemoveLogin can remove any password matching the unique key. Therefore, RemoveLogin should be called to clean all the forms with the same sync tag.

BUG=489766

Review URL: https://codereview.chromium.org/1273033006

Cr-Commit-Position: refs/heads/master@{#342823}
chrome/browser/password_manager/native_backend_gnome_x.cc
chrome/browser/password_manager/native_backend_gnome_x_unittest.cc
chrome/browser/password_manager/native_backend_libsecret.cc
chrome/browser/password_manager/native_backend_libsecret_unittest.cc