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

Unified Diff: ios/web/public/ssl_status.h

Issue 2466143002: iOS: Mark HTTP pages with password fields with an omnibox icon. (Closed)
Patch Set: iOS HTTP Bad. Created 4 years 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/ssl/ios_security_state_tab_helper.mm ('k') | ios/web/public/test/test_web_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/ssl_status.h
diff --git a/ios/web/public/ssl_status.h b/ios/web/public/ssl_status.h
index 26446e932a61d9dfa955866917eb07da441967d1..58b8c533bfad198a8c1c305efdad8b06a49ff774 100644
--- a/ios/web/public/ssl_status.h
+++ b/ios/web/public/ssl_status.h
@@ -18,13 +18,17 @@ struct SSLStatus {
// Flags used for the page security content status.
enum ContentStatusFlags {
// HTTP page, or HTTPS page with no insecure content.
- NORMAL_CONTENT = 0,
+ NORMAL_CONTENT = 0,
// HTTPS page containing "displayed" HTTP resources (e.g. images, CSS).
DISPLAYED_INSECURE_CONTENT = 1 << 0,
// The RAN_INSECURE_CONTENT flag is intentionally omitted on iOS because
// there is no way to tell when insecure content is run in a web view.
+
+ // HTTP page containing a password input, used to adjust UI on nonsecure
+ // pages that collect sensitive data.
+ DISPLAYED_PASSWORD_FIELD_ON_HTTP = 1 << 4,
};
SSLStatus();
« no previous file with comments | « ios/chrome/browser/ssl/ios_security_state_tab_helper.mm ('k') | ios/web/public/test/test_web_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698