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

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

Issue 2913323004: Implementation of sync password hash clearing. (Closed)
Patch Set: 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_reuse_detector.h
diff --git a/components/password_manager/core/browser/password_reuse_detector.h b/components/password_manager/core/browser/password_reuse_detector.h
index d42f3137c77fe53f2c759b43bfbdbe4e49b02f76..3cf65696bdb04904fc6ca0d977ba28c20950612b 100644
--- a/components/password_manager/core/browser/password_reuse_detector.h
+++ b/components/password_manager/core/browser/password_reuse_detector.h
@@ -58,6 +58,9 @@ class PasswordReuseDetector : public PasswordStoreConsumer {
// Saves a hash of |password| for password reuse checking.
void SaveSyncPasswordHash(const base::string16& password);
+ // Clears a sync password hash if it was saved.
+ void ClearSyncPasswordHash();
+
private:
using passwords_iterator = std::map<base::string16,
std::set<std::string>,

Powered by Google App Engine
This is Rietveld 408576698