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

Unified Diff: components/password_manager/core/browser/affiliated_match_helper.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/core/browser/affiliated_match_helper.cc
diff --git a/components/password_manager/core/browser/affiliated_match_helper.cc b/components/password_manager/core/browser/affiliated_match_helper.cc
index dc56945a33c4389bce51e0bf9429ebcf9527a6cc..ee18665afdc3ee600aecedb9cf5d3b32fd313834 100644
--- a/components/password_manager/core/browser/affiliated_match_helper.cc
+++ b/components/password_manager/core/browser/affiliated_match_helper.cc
@@ -140,7 +140,7 @@ bool AffiliatedMatchHelper::IsValidAndroidCredential(
bool AffiliatedMatchHelper::IsValidWebCredential(
const autofill::PasswordForm& form) {
FacetURI facet_uri(FacetURI::FromPotentiallyInvalidSpec(form.signon_realm));
- return form.scheme == autofill::PasswordForm::SCHEME_HTML && form.ssl_valid &&
+ return form.scheme == autofill::PasswordForm::SCHEME_HTML &&
facet_uri.IsValidWebFacetURI();
}

Powered by Google App Engine
This is Rietveld 408576698