Index: components/password_manager/core/browser/password_store.cc |
diff --git a/components/password_manager/core/browser/password_store.cc b/components/password_manager/core/browser/password_store.cc |
index 0575e5de99af3b02d486eb3bd97917d064ffcbaa..8b077e2e5431212d32c1a9c946c4176ac0c63c4e 100644 |
--- a/components/password_manager/core/browser/password_store.cc |
+++ b/components/password_manager/core/browser/password_store.cc |
@@ -332,6 +332,10 @@ void PasswordStore::SaveSyncPasswordHash(const base::string16& password) { |
ScheduleTask( |
base::Bind(&PasswordStore::SaveSyncPasswordHashImpl, this, password)); |
} |
+ |
+void PasswordStore::ClearSyncPasswordHash() { |
+ ScheduleTask(base::Bind(&PasswordStore::ClearSyncPasswordHashImpl, this)); |
+} |
#endif |
PasswordStore::~PasswordStore() { |
@@ -419,6 +423,11 @@ void PasswordStore::SaveSyncPasswordHashImpl(const base::string16& password) { |
if (reuse_detector_) |
reuse_detector_->SaveSyncPasswordHash(password); |
} |
+ |
+void PasswordStore::ClearSyncPasswordHashImpl() { |
+ if (reuse_detector_) |
+ reuse_detector_->ClearSyncPasswordHash(); |
+} |
#endif |
void PasswordStore::Schedule( |