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

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

Issue 9212044: Improving `content_security_policy` documentation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Meggin's feedback. Created 8 years, 11 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/tutorials/analytics/manifest.json
diff --git a/chrome/common/extensions/docs/examples/tutorials/analytics/manifest.json b/chrome/common/extensions/docs/examples/tutorials/analytics/manifest.json
index 55e3f7ba60c06242942305a4326d8215b9cd6d51..11f90a07c7e38e3e383a4f710ec2ee7c0f817eac 100644
--- a/chrome/common/extensions/docs/examples/tutorials/analytics/manifest.json
+++ b/chrome/common/extensions/docs/examples/tutorials/analytics/manifest.json
@@ -1,10 +1,7 @@
{
"name": "Event Tracking with Google Analytics",
- "version": "1.0.0",
+ "version": "2.0.0",
"description": "A sample extension which uses Google Analytics to track usage.",
- "background": {
- "scripts": ["analytics.js"]
- },
"browser_action": {
"default_title": "Open the popup",
"default_icon": "analytics-extension-icon-19.png",
@@ -13,5 +10,8 @@
"icons": {
"48": "analytics-extension-icon-48.png",
"128": "analytics-extension-icon-128.png"
- }
+ },
+
+ "manifest_version": 2,
+ "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'"
}

Powered by Google App Engine
This is Rietveld 408576698