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

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

Issue 2679383003: Share schemes needed for CSP between the browser and the renderer. (Closed)
Patch Set: Rebase and fix conflict. 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
« no previous file with comments | « content/common/url_schemes.cc ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fd3f94d6d38bc93566680d12fbf20931f23d3b08 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> csp_bypassing_schemes;
// See https://www.w3.org/TR/powerful-features/#is-origin-trustworthy.
std::vector<std::string> secure_schemes;
std::vector<GURL> secure_origins;
« no previous file with comments | « content/common/url_schemes.cc ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698