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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "name": "Mappy", 2 "name": "Mappy",
3 "version": "0.6.1", 3 "version": "0.6.1",
4 "description": "Finds addresses in the web page you're on and pops up a map wi ndow.", 4 "description": "Finds addresses in the web page you're on and pops up a map wi ndow.",
5 "icons": { "128": "icon.png" }, 5 "icons": { "128": "icon.png" },
6 "background_page": "background.html", 6 "background_page": "background.html",
7 "content_scripts": [ 7 "content_scripts": [
8 { "matches": ["http://*/*"], "js": ["mappy_content_script.js"] } 8 { "matches": ["http://*/*"], "js": ["mappy_content_script.js"] }
9 ], 9 ],
10 "permissions": [ 10 "permissions": [
11 "tabs", 11 "tabs",
12 "http://maps.google.com/*" 12 "https://maps.google.com/*",
13 "https://maps.googleapis.com/*"
13 ], 14 ],
14 "page_action": { 15 "page_action": {
15 "default_name": "Display Map", 16 "default_name": "Display Map",
16 "default_icon": "marker.png", 17 "default_icon": "marker.png",
17 "popup": "popup.html" 18 "popup": "popup.html"
18 } 19 },
20 "content_security_policy": "default-src 'none'; style-src 'self'; script-src ' self'; connect-src https://maps.googleapis.com; img-src https://maps.google.com"
19 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698