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

Unified Diff: chrome/common/chrome_switches.cc

Issue 1072933006: Support whitelisting to handle insecure origins as trustworthy origins (chromium) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added more tests Created 5 years, 8 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 | « chrome/common/chrome_content_client.cc ('k') | chrome/common/secure_origin_whitelist.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 304d457f695972e161c08579c4f8615ce960b492..04f8a2a270c5c79e025af5218f95efad4511452c 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1163,6 +1163,14 @@ const char kUninstall[] = "uninstall";
// apps/origins. This should be used only for testing purpose.
const char kUnlimitedStorage[] = "unlimited-storage";
+// Treat given (insecure) origins as secure origins. Multiple origins can be
+// supplied. Has no effect unless --user-data-dir is also supplied.
+// Example:
+// --unsafety-treat-insecure-origin-as-secure=http://a.test,http://b.test
+// --user-data-dir=/test/only/profile/dir
+const char kUnsafetyTreatInsecureOriginAsSecure[] =
+ "unsafety-treat-insecure-origin-as-secure";
+
// Uses Spdy for the transport protocol instead of HTTP. This is a temporary
// testing flag.
const char kUseSpdy[] = "use-spdy";
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | chrome/common/secure_origin_whitelist.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698