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

Unified Diff: content/public/common/content_client.h

Issue 2679383003: Share schemes needed for CSP between the browser and the renderer. (Closed)
Patch Set: Created 3 years, 10 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: content/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index ea0bb0d80aaadcd331655a1995b0c6e42c8a7f93..ad393c694863e8279e8bfff90ed7ac63c2bc3026 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -111,6 +111,7 @@ class CONTENT_EXPORT ContentClient {
std::vector<std::string> local_schemes;
std::vector<std::string> no_access_schemes;
std::vector<std::string> cors_enabled_schemes;
+ std::vector<std::string> bypassing_csp_schemes;
nasko 2017/02/09 00:13:15 nit: I'd reorder the name a bit - csp_bypassing_sc
arthursonzogni 2017/02/09 09:15:53 Done.
// See https://www.w3.org/TR/powerful-features/#is-origin-trustworthy.
std::vector<std::string> secure_schemes;
std::vector<GURL> secure_origins;

Powered by Google App Engine
This is Rietveld 408576698