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

Unified Diff: chrome/common/extensions/docs/examples/api/browserAction/make_page_red/manifest.json

Issue 8318001: Adding `content_security_policy` to a few sample extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Docs. Zips. 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/api/browserAction/make_page_red/manifest.json
diff --git a/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/manifest.json b/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/manifest.json
index 6bb35c623e51b8bd4153c96f2016919fcfeafefc..cb943481a1756f6090e415eeab5694e99222d0e2 100644
--- a/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/manifest.json
+++ b/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/manifest.json
@@ -6,7 +6,8 @@
"tabs", "http://*/*"
],
"browser_action": {
- "name": "Make this page red",
- "icons": ["icon.png"]
- }
-}
+ "name": "Make this page red",
+ "icons": ["icon.png"]
+ },
+ "content_security_policy": "default-src 'none'; script-src 'self'"
+}

Powered by Google App Engine
This is Rietveld 408576698