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

Unified Diff: chrome/browser/password_manager/chrome_password_manager_client.cc

Issue 2585253002: Integration of PasswordReuseDetector into PasswordStore. (Closed)
Patch Set: more tests Created 4 years 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: chrome/browser/password_manager/chrome_password_manager_client.cc
diff --git a/chrome/browser/password_manager/chrome_password_manager_client.cc b/chrome/browser/password_manager/chrome_password_manager_client.cc
index 22a725914159216f6c6a9283a9d582b5faec9ce6..3f3dca9b1cd0a67a57b6a3a90a6ec2583dd9174b 100644
--- a/chrome/browser/password_manager/chrome_password_manager_client.cc
+++ b/chrome/browser/password_manager/chrome_password_manager_client.cc
@@ -377,6 +377,13 @@ void ChromePasswordManagerClient::HidePasswordGenerationPopup() {
popup_controller_->HideAndDestroy();
}
+void ChromePasswordManagerClient::CheckReuse(
+ const base::string16& input,
+ const std::string& domain,
+ password_manager::PasswordReuseDetectorConsumer* consumer) {
+ GetPasswordStore()->CheckReuse(input, domain, consumer);
vabr (Chromium) 2016/12/20 18:11:44 What is the advantage of having PasswordManagerCli
dvadym 2016/12/21 12:15:35 Mainly for easier testing. In the next CL I'm goin
+}
+
PrefService* ChromePasswordManagerClient::GetPrefs() {
return profile_->GetPrefs();
}

Powered by Google App Engine
This is Rietveld 408576698