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

Unified Diff: ios/chrome/browser/ssl/ios_security_state_tab_helper.mm

Issue 2669123003: iOS: Mark HTTP pages with credit card fields with an omnibox icon. (Closed)
Patch Set: Update comments. Created 3 years, 10 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
« no previous file with comments | « ios/chrome/browser/autofill/autofill_controller_unittest.mm ('k') | ios/web/public/ssl_status.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ssl/ios_security_state_tab_helper.mm
diff --git a/ios/chrome/browser/ssl/ios_security_state_tab_helper.mm b/ios/chrome/browser/ssl/ios_security_state_tab_helper.mm
index 9225670592f5641be3f654c365b5d5594a25e86c..8b14ec66f8f84aea55facd4550ebc18190671b81 100644
--- a/ios/chrome/browser/ssl/ios_security_state_tab_helper.mm
+++ b/ios/chrome/browser/ssl/ios_security_state_tab_helper.mm
@@ -59,5 +59,9 @@ IOSSecurityStateTabHelper::GetVisibleSecurityState() const {
(ssl.content_status & web::SSLStatus::DISPLAYED_PASSWORD_FIELD_ON_HTTP)
? true
: false;
+ state->displayed_credit_card_field_on_http =
+ (ssl.content_status & web::SSLStatus::DISPLAYED_CREDIT_CARD_FIELD_ON_HTTP)
+ ? true
+ : false;
return state;
}
« no previous file with comments | « ios/chrome/browser/autofill/autofill_controller_unittest.mm ('k') | ios/web/public/ssl_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698