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

Unified Diff: chrome/browser/ui/startup/bad_flags_prompt.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 test, added IsOriginSecure plumbing etc 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
Index: chrome/browser/ui/startup/bad_flags_prompt.cc
diff --git a/chrome/browser/ui/startup/bad_flags_prompt.cc b/chrome/browser/ui/startup/bad_flags_prompt.cc
index 211b42e937cacb8b1dda70e705f3867670c9b059..09d9fe70cec7026ce997417aeca9d7db67f8d04d 100644
--- a/chrome/browser/ui/startup/bad_flags_prompt.cc
+++ b/chrome/browser/ui/startup/bad_flags_prompt.cc
@@ -80,6 +80,9 @@ void ShowBadFlagsPrompt(Browser* browser) {
switches::kDisableBlinkFeatures,
switches::kEnableBlinkFeatures,
+ // This flag adds whitelisting to disable the Secure Origin handling.
palmer 2015/04/20 22:16:17 Nit: to whitelist an exception or 2 is not quite t
kinuko 2015/04/21 16:15:48 Done.
+ switches::kUnsafetyTreatInsecureOriginAsSecure,
+
NULL
};

Powered by Google App Engine
This is Rietveld 408576698