| 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 aa638f293be28c40a3281e9292a9a1a49df7e2e1..7df089164774f9b8c4c5c23cd98e962cbccce25c 100644
|
| --- a/chrome/browser/password_manager/chrome_password_manager_client.cc
|
| +++ b/chrome/browser/password_manager/chrome_password_manager_client.cc
|
| @@ -418,10 +418,24 @@ void ChromePasswordManagerClient::CheckSafeBrowsingReputation(
|
| safe_browsing::PasswordProtectionService* pps =
|
| GetPasswordProtectionService();
|
| if (pps) {
|
| + // TODO(jialiul): Pass in web_content() instead of GetMainFrameURL(), such
|
| + // that web_content can be used to display safe browsing interstitial.
|
| pps->MaybeStartPasswordFieldOnFocusRequest(GetMainFrameURL(), form_action,
|
| frame_url);
|
| }
|
| }
|
| +
|
| +void ChromePasswordManagerClient::CheckProtectedPasswordEntry(
|
| + const std::string& password_saved_domain) {
|
| + safe_browsing::PasswordProtectionService* pps =
|
| + GetPasswordProtectionService();
|
| + if (pps) {
|
| + // TODO(jialiul): Pass in web_content() instead of GetMainFrameURL(), such
|
| + // that web_content can be used to display safe browsing interstitial.
|
| + pps->MaybeStartProtectedPasswordEntryRequest(GetMainFrameURL(),
|
| + password_saved_domain);
|
| + }
|
| +}
|
| #endif
|
|
|
| // TODO(crbug.com/706392): Fix password reuse detection for Android.
|
|
|