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

Unified Diff: components/security_state/core/switches.cc

Issue 2907153006: Add new mark-non-secure-as options to chrome://flags (Closed)
Patch Set: Self review Created 3 years, 7 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/security_state/core/switches.cc
diff --git a/components/security_state/core/switches.cc b/components/security_state/core/switches.cc
index c8542f83961ca51080f72dadeaf08b0eee5a13f5..6241f196e9987a3cc3471502704c746ff59f6951 100644
--- a/components/security_state/core/switches.cc
+++ b/components/security_state/core/switches.cc
@@ -10,6 +10,9 @@ namespace switches {
// Use to opt-in to marking HTTP as non-secure.
const char kMarkHttpAs[] = "mark-non-secure-as";
const char kMarkHttpAsDangerous[] = "non-secure";
-
+const char kMarkHttpAsNonSecureWhileEditing[] = "non-secure-while-editing";
+const char kMarkHttpAsNonSecureWhileIncognito[] = "non-secure-while-incognito";
+const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
+ "non-secure-while-incognito-or-editing";
} // namespace switches
} // namespace security_state

Powered by Google App Engine
This is Rietveld 408576698