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

Unified Diff: components/password_manager/core/browser/password_reuse_detection_manager.cc

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_detection_manager.cc
diff --git a/components/password_manager/core/browser/password_reuse_detection_manager.cc b/components/password_manager/core/browser/password_reuse_detection_manager.cc
index ab55375398fa608fb4a02e89179f6ecb10642162..a45670fdc70596ea3a31bb804212699bf6033582 100644
--- a/components/password_manager/core/browser/password_reuse_detection_manager.cc
+++ b/components/password_manager/core/browser/password_reuse_detection_manager.cc
@@ -49,7 +49,7 @@ void PasswordReuseDetectionManager::OnKeyPressed(const base::string16& text) {
void PasswordReuseDetectionManager::OnReuseFound(
const base::string16& password,
- const std::string& saved_domain,
+ const std::string& legitimate_domain,
int saved_passwords,
int number_matches) {
std::unique_ptr<BrowserSavePasswordProgressLogger> logger;
@@ -57,7 +57,7 @@ void PasswordReuseDetectionManager::OnReuseFound(
logger.reset(
new BrowserSavePasswordProgressLogger(client_->GetLogManager()));
logger->LogString(BrowserSavePasswordProgressLogger::STRING_REUSE_FOUND,
- saved_domain);
+ legitimate_domain);
}
metrics_util::LogPasswordReuse(

Powered by Google App Engine
This is Rietveld 408576698