Index: components/password_manager/core/browser/password_store.h |
diff --git a/components/password_manager/core/browser/password_store.h b/components/password_manager/core/browser/password_store.h |
index 6bb063dff17a2a65067d614c645ea6a9e88c2a89..f4fd83ea3b4d2fa8d07b313dc6acee49abd40338 100644 |
--- a/components/password_manager/core/browser/password_store.h |
+++ b/components/password_manager/core/browser/password_store.h |
@@ -142,6 +142,10 @@ class PasswordStore : protected PasswordStoreSync, |
virtual void RemoveLoginsCreatedBetween(const base::Time& delete_begin, |
const base::Time& delete_end); |
+ // Removes all logins synced in the given date range. |
+ virtual void RemoveLoginsSyncedBetween(base::Time delete_begin, |
+ base::Time delete_end); |
+ |
// Searches for a matching PasswordForm, and notifies |consumer| on |
// completion. The request will be cancelled if the consumer is destroyed. |
// |prompt_policy| indicates whether it's permissible to prompt the user to |
@@ -215,6 +219,11 @@ class PasswordStore : protected PasswordStoreSync, |
virtual PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl( |
const base::Time& delete_begin, const base::Time& delete_end) = 0; |
+ // Synchronous implementation to remove the given logins. |
+ virtual PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl( |
+ base::Time delete_begin, |
+ base::Time delete_end) = 0; |
+ |
typedef base::Callback<void(const std::vector<autofill::PasswordForm*>&)> |
ConsumerCallbackRunner; // Owns all PasswordForms in the vector. |