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

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

Issue 2846823002: Interface for sync password saving. (Closed)
Patch Set: comments fixes Created 3 years, 8 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 967c941a9cd9f3f97285f0ebb14b4ce7a4d200ad..e9766c8a737e5e7e01501349cc1c6edcd8642a6b 100644
--- a/components/password_manager/core/browser/password_reuse_detector.h
+++ b/components/password_manager/core/browser/password_reuse_detector.h
@@ -51,6 +51,9 @@ class PasswordReuseDetector : public PasswordStoreConsumer {
const std::string& domain,
PasswordReuseDetectorConsumer* consumer);
+ // Saves a hash of |password| for password reuse checking.
+ void SaveSyncPasswordHash(const base::string16& password);
+
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