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

Unified Diff: components/password_manager/content/browser/content_password_manager_driver.cc

Issue 2414913003: Inform WebContents when a password field is visible (Closed)
Patch Set: Created 4 years, 2 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/content/browser/content_password_manager_driver.cc
diff --git a/components/password_manager/content/browser/content_password_manager_driver.cc b/components/password_manager/content/browser/content_password_manager_driver.cc
index c9854058af8dbb3a1117971df55cf8ae39e39ec3..b658e0bdf0d05e4a762a8a83c530587e4fff8010 100644
--- a/components/password_manager/content/browser/content_password_manager_driver.cc
+++ b/components/password_manager/content/browser/content_password_manager_driver.cc
@@ -174,7 +174,6 @@ void ContentPasswordManagerDriver::PasswordFormsParsed(
void ContentPasswordManagerDriver::OnPasswordFormsParsedNoRenderCheck(
const std::vector<autofill::PasswordForm>& forms) {
- MaybeNotifyPasswordInputShownOnHttp(render_frame_host_);
GetPasswordManager()->OnPasswordFormsParsed(this, forms);
GetPasswordGenerationManager()->CheckIfFormClassifierShouldRun();
}
@@ -209,9 +208,7 @@ void ContentPasswordManagerDriver::OnFocusedPasswordFormFound(
}
void ContentPasswordManagerDriver::PasswordFieldVisibleInInsecureContext() {
- // TODO(estark): notify the WebContents that a password field was
- // shown, which will downgrade the security UI
- // appropriately. https://crbug.com/647560
+ MaybeNotifyPasswordInputShownOnHttp(render_frame_host_);
}
void ContentPasswordManagerDriver::DidNavigateFrame(

Powered by Google App Engine
This is Rietveld 408576698