summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/examples/tutorials/analytics/manifest.json
diff options
context:
space:
mode:
authormkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-26 08:31:45 +0000
committermkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-26 08:31:45 +0000
commiteb77fe592eed618a37d3b73ba0dff5b1968b4efa (patch)
tree3db331c422b41b4f79719ac31e84fc196478f4da /chrome/common/extensions/docs/examples/tutorials/analytics/manifest.json
parent9d56027a1bd54cdf472fbc115688ebe24078e8d7 (diff)
downloadchromium_src-eb77fe592eed618a37d3b73ba0dff5b1968b4efa.zip
chromium_src-eb77fe592eed618a37d3b73ba0dff5b1968b4efa.tar.gz
chromium_src-eb77fe592eed618a37d3b73ba0dff5b1968b4efa.tar.bz2
Improving `content_security_policy` documentation.
Added a document just for `content_security_policy` explaining the default restrictions, and offering pointers regarding best practice. Also updated the Analytics example and documentation accordingly. BUG=111049 TEST= Review URL: https://chromiumcodereview.appspot.com/9212044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119211 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/examples/tutorials/analytics/manifest.json')
-rw-r--r--chrome/common/extensions/docs/examples/tutorials/analytics/manifest.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/common/extensions/docs/examples/tutorials/analytics/manifest.json b/chrome/common/extensions/docs/examples/tutorials/analytics/manifest.json
index 55e3f7b..11f90a0 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'"
}