Chromium Code Reviews| Index: chrome/browser/password_manager/password_store_x.cc |
| diff --git a/chrome/browser/password_manager/password_store_x.cc b/chrome/browser/password_manager/password_store_x.cc |
| index 8a6fc746d4f276041f6d66dadd272219c1f7412b..bdcc34c1a83b29f26870a6067845c78ca98a961b 100644 |
| --- a/chrome/browser/password_manager/password_store_x.cc |
| +++ b/chrome/browser/password_manager/password_store_x.cc |
| @@ -110,6 +110,21 @@ PasswordStoreChangeList PasswordStoreX::RemoveLoginsCreatedBetweenImpl( |
| return changes; |
| } |
| +PasswordStoreChangeList PasswordStoreX::RemoveLoginsSyncedBetweenImpl( |
| + const base::Time& delete_begin, |
| + const base::Time& delete_end) { |
| + CheckMigration(); |
| + PasswordStoreChangeList changes; |
| + if (use_native_backend() && |
| + backend_->RemoveLoginsSyncedBetween(delete_begin, delete_end, &changes)) { |
|
Garrett Casto
2014/06/17 17:57:36
Seems like we should standardize how we report cha
vasilii
2014/06/18 10:00:57
You are right. The plan is to remove GetLoginsCrea
|
| + allow_fallback_ = false; |
|
Garrett Casto
2014/06/17 17:57:36
It also seems like it would be nice if we had UMA
vasilii
2014/06/18 10:00:57
http://crbug.com/386079. The new method will be ca
|
| + } else if (allow_default_store()) { |
| + changes = PasswordStoreDefault::RemoveLoginsSyncedBetweenImpl(delete_begin, |
| + delete_end); |
| + } |
| + return changes; |
| +} |
| + |
| namespace { |
| struct LoginLessThan { |
| bool operator()(const PasswordForm* a, const PasswordForm* b) { |