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

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

Issue 2127533003: Remove PasswordForm::ssl_valid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust //ios Created 4 years, 5 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/credential_manager_impl.cc
diff --git a/components/password_manager/content/browser/credential_manager_impl.cc b/components/password_manager/content/browser/credential_manager_impl.cc
index ba0cf7dda227d84da9820bc3aaca0a94be96ac08..b303a71763078c73f699575de8ea5e44ab5cbb1e 100644
--- a/components/password_manager/content/browser/credential_manager_impl.cc
+++ b/components/password_manager/content/browser/credential_manager_impl.cc
@@ -264,8 +264,6 @@ autofill::PasswordForm CredentialManagerImpl::GetSynthesizedFormForOrigin()
synthetic_form.origin = web_contents()->GetLastCommittedURL().GetOrigin();
synthetic_form.signon_realm = synthetic_form.origin.spec();
synthetic_form.scheme = autofill::PasswordForm::SCHEME_HTML;
- synthetic_form.ssl_valid = synthetic_form.origin.SchemeIsCryptographic() &&
- !client_->DidLastPageLoadEncounterSSLErrors();
return synthetic_form;
}

Powered by Google App Engine
This is Rietveld 408576698