| 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 74ff469f51d9c978af08b50f22be4882832baa7a..c148a5f632c370b682da89ad2e6ed205ce80e71b 100644
|
| --- a/components/password_manager/core/browser/password_store.h
|
| +++ b/components/password_manager/core/browser/password_store.h
|
| @@ -93,14 +93,20 @@ class PasswordStore : protected PasswordStoreSync,
|
| // Removes the matching PasswordForm from the secure password store (async).
|
| virtual void RemoveLogin(const autofill::PasswordForm& form);
|
|
|
| - // Removes all logins created in the given date range.
|
| + // Removes all logins created in the given date range, and posts |completion|,
|
| + // if non-null, to the |main_thread_runner_| once done.
|
| virtual void RemoveLoginsCreatedBetween(base::Time delete_begin,
|
| - base::Time delete_end);
|
| + base::Time delete_end,
|
| + const base::Closure& completion);
|
|
|
| // Removes all logins synced in the given date range.
|
| virtual void RemoveLoginsSyncedBetween(base::Time delete_begin,
|
| base::Time delete_end);
|
|
|
| + // Removes cached affiliation data that is no longer needed; provided that
|
| + // affiliation-based matching is enabled.
|
| + void TrimAffiliationCache();
|
| +
|
| // 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
|
| @@ -284,7 +290,8 @@ class PasswordStore : protected PasswordStoreSync,
|
| void UpdateLoginInternal(const autofill::PasswordForm& form);
|
| void RemoveLoginInternal(const autofill::PasswordForm& form);
|
| void RemoveLoginsCreatedBetweenInternal(base::Time delete_begin,
|
| - base::Time delete_end);
|
| + base::Time delete_end,
|
| + const base::Closure& completion);
|
| void RemoveLoginsSyncedBetweenInternal(base::Time delete_begin,
|
| base::Time delete_end);
|
|
|
|
|