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

Unified Diff: components/password_manager/core/browser/password_reuse_detector.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
« no previous file with comments | « no previous file | components/password_manager/core/browser/password_reuse_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>,
« no previous file with comments | « no previous file | components/password_manager/core/browser/password_reuse_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698