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

Side by Side Diff: chrome/common/extensions/docs/examples/howto/contentscript_xhr/manifest.json

Issue 7633017: Adding content_security_policy to sample extensions when relevant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "name": "Content Script Cross-Domain XMLHttpRequest Example", 2 "name": "Content Script Cross-Domain XMLHttpRequest Example",
3 "version": "2.0.0", 3 "version": "2.0.0",
4 "description": "Demonstrates making cross domain requests from a content scrip t by putting Twitter trends on Google News.", 4 "description": "Demonstrates making cross domain requests from a content scrip t by putting Twitter trends on Google News.",
5 "permissions": [ 5 "permissions": [
6 "https://api.twitter.com/*" 6 "https://api.twitter.com/*"
7 ], 7 ],
8 "icons": { 8 "icons": {
9 "48" : "sample-48.png", 9 "48" : "sample-48.png",
10 "128" : "sample-128.png" 10 "128" : "sample-128.png"
11 }, 11 },
12 "content_scripts": [ 12 "content_scripts": [
13 { 13 {
14 "matches": ["http://news.google.com/*"], 14 "matches": ["http://news.google.com/*"],
15 "js" : ["contentscript.js"] 15 "js" : ["contentscript.js"]
16 } 16 }
17 ] 17 ],
18 "content_security_policy": "default-src 'self' https://api.twitter.com http:// news.google.com"
18 } 19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698