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

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

Issue 2907153006: Add new mark-non-secure-as options to chrome://flags (Closed)
Patch Set: Change 'while' to 'after' 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
« no previous file with comments | « components/security_state/core/switches.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..dddd8ae4e61aa163e5b932fed003d559010f2586 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 kMarkHttpAsNonSecureAfterEditing[] = "non-secure-after-editing";
+const char kMarkHttpAsNonSecureWhileIncognito[] = "non-secure-while-incognito";
+const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
+ "non-secure-while-incognito-or-editing";
} // namespace switches
} // namespace security_state
« no previous file with comments | « components/security_state/core/switches.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698