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

Unified Diff: chrome/common/chrome_content_client.cc

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
« no previous file with comments | « no previous file | content/common/url_schemes.cc » ('j') | content/public/common/content_client.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_content_client.cc
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
index be0eb7e621092713b356e0e2fab51da97daa919b..401eab1bb8533a2eb5d1830eb0ae5b621615e235 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -618,6 +618,8 @@ void ChromeContentClient::AddAdditionalSchemes(Schemes* schemes) {
// overridden by the web_accessible_resources manifest key.
// TODO(kalman): See what happens with a service worker.
schemes->cors_enabled_schemes.push_back(extensions::kExtensionScheme);
+
+ schemes->bypassing_csp_schemes.push_back(extensions::kExtensionScheme);
#endif
#if defined(OS_CHROMEOS)
« no previous file with comments | « no previous file | content/common/url_schemes.cc » ('j') | content/public/common/content_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698