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

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

Issue 2847743002: Implementation of sync password reuse checking. (Closed)
Patch Set: Addressed comments 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
Index: components/password_manager/core/browser/password_reuse_detector_consumer.h
diff --git a/components/password_manager/core/browser/password_reuse_detector_consumer.h b/components/password_manager/core/browser/password_reuse_detector_consumer.h
index 254f29f79d975eab5f82b8fd030d8a6ba1997c18..b621b777e4fa024255dded6d761721c11b1a6d6c 100644
--- a/components/password_manager/core/browser/password_reuse_detector_consumer.h
+++ b/components/password_manager/core/browser/password_reuse_detector_consumer.h
@@ -21,11 +21,12 @@ class PasswordReuseDetectorConsumer
virtual ~PasswordReuseDetectorConsumer();
// Called when a password reuse is found.
- // |saved_domain| is the domain on which |password| is saved.
+ // |legitimate_domain| is the domain on which |password| is saved or the sync
+ // domain if |password| is a sync password.
// |saved_passwords| is total number of passwords stored in Password Manager.
// |number_matches| is a number of sites on which |password| is saved.
virtual void OnReuseFound(const base::string16& password,
- const std::string& saved_domain,
+ const std::string& legitimate_domain,
int saved_passwords,
int number_matches) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698