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

Unified Diff: chrome/common/extensions/docs/examples/extensions/mappy/manifest.json

Issue 8311007: Adding `content_security_policy` to the "Mappy" sample. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebasing. Created 9 years, 2 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/common/extensions/docs/examples/extensions/mappy/manifest.json
diff --git a/chrome/common/extensions/docs/examples/extensions/mappy/manifest.json b/chrome/common/extensions/docs/examples/extensions/mappy/manifest.json
index 9c3858e049db8644fe2722597a399bddb9e51356..849aeb1c23c9afc75e41b7b2d7d6d8d8a4ead5d0 100644
--- a/chrome/common/extensions/docs/examples/extensions/mappy/manifest.json
+++ b/chrome/common/extensions/docs/examples/extensions/mappy/manifest.json
@@ -9,11 +9,13 @@
],
"permissions": [
"tabs",
- "http://maps.google.com/*"
+ "https://maps.google.com/*",
+ "https://maps.googleapis.com/*"
],
"page_action": {
"default_name": "Display Map",
"default_icon": "marker.png",
"popup": "popup.html"
- }
+ },
+ "content_security_policy": "default-src 'none'; style-src 'self'; script-src 'self'; connect-src https://maps.googleapis.com; img-src https://maps.google.com"
}

Powered by Google App Engine
This is Rietveld 408576698