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 0a0b915bbeff297767ce2c2b2f24dc5d56aa8f38..c5780235632b9ca861108b6b350800eb8e879749 100644 |
--- a/components/password_manager/core/browser/password_store.h |
+++ b/components/password_manager/core/browser/password_store.h |
@@ -241,6 +241,9 @@ class PasswordStore : protected PasswordStoreSync, |
virtual void CheckReuse(const base::string16& input, |
const std::string& domain, |
PasswordReuseDetectorConsumer* consumer); |
+ |
+ // Saves a hash of |password| for password reuse checking. |
+ void SaveSyncPasswordHash(const base::string16& password); |
#endif |
protected: |
@@ -402,6 +405,9 @@ class PasswordStore : protected PasswordStoreSync, |
void CheckReuseImpl(std::unique_ptr<CheckReuseRequest> request, |
const base::string16& input, |
const std::string& domain); |
+ |
+ // Synchronous implementation of SaveSyncPasswordHash(). |
+ void SaveSyncPasswordHashImpl(const base::string16& password); |
#endif |
// TaskRunner for tasks that run on the main thread (usually the UI thread). |