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

Unified Diff: chrome/common/chrome_switches.cc

Issue 813873005: Add field trial and flag to mark HTTP as non-secure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename to "Mark Non-Secure As ...", use named constants. Created 5 years, 11 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: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index e6777ac9e0aa75c104bf3057a434b399a979ee4b..9701686c43b0543102cb1db1fc8aae88541a3d99 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -780,6 +780,12 @@ const char kManualEnhancedBookmarks[] = "manual-enhanced-bookmarks";
const char kManualEnhancedBookmarksOptout[] =
"manual-enhanced-bookmarks-optout";
+// Use to opt-in to marking HTTP as non-secure.
+const char kMarkNonSecureAs[] = "mark-non-secure-as";
+const char kMarkNonSecureAsNeutral[] = "neutral";
+const char kMarkNonSecureAsDubious[] = "dubious";
+const char kMarkNonSecureAsNonSecure[] = "non-secure";
+
// Forces the maximum disk space to be used by the media cache, in bytes.
const char kMediaCacheSize[] = "media-cache-size";

Powered by Google App Engine
This is Rietveld 408576698