Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: components/password_manager/core/browser/password_store.h

Issue 2913323004: Implementation of sync password hash clearing. (Closed)
Patch Set: addressed reviewer's comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6c2f104e3264d528b78bb60a01ed341280e37e94..40ecd0739b66edd9536e30bbcad0f1495e4b6770 100644
--- a/components/password_manager/core/browser/password_store.h
+++ b/components/password_manager/core/browser/password_store.h
@@ -261,6 +261,9 @@ class PasswordStore : protected PasswordStoreSync,
// Saves a hash of |password| for password reuse checking.
void SaveSyncPasswordHash(const base::string16& password);
+
+ // Clears the saved sync password hash.
+ void ClearSyncPasswordHash();
#endif
protected:
@@ -430,6 +433,9 @@ class PasswordStore : protected PasswordStoreSync,
// Synchronous implementation of SaveSyncPasswordHash().
void SaveSyncPasswordHashImpl(const base::string16& password);
+
+ // Synchronous implementation of ClearSyncPasswordHash().
+ void ClearSyncPasswordHashImpl();
#endif
// TaskRunner for tasks that run on the main thread (usually the UI thread).

Powered by Google App Engine
This is Rietveld 408576698