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

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, 1 month 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: ios/web/public/ssl_status.h
diff --git a/ios/web/public/ssl_status.h b/ios/web/public/ssl_status.h
index 26446e932a61d9dfa955866917eb07da441967d1..af5299324da3147bd96621531e1ed621717e48c5 100644
--- a/ios/web/public/ssl_status.h
+++ b/ios/web/public/ssl_status.h
@@ -18,13 +18,15 @@ 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.
+
+ DISPLAYED_PASSWORD_FIELD_ON_HTTP = 1 << 4,
estark 2016/11/29 21:28:48 nit: add a comment explaining
lgarron 2016/12/02 01:21:52 Done. (I based the wording off the desktop constan
};
SSLStatus();

Powered by Google App Engine
This is Rietveld 408576698