diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 19:27:56 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 19:27:56 +0000 |
commit | 91c394a8ab7a4a3acd1721ccc314498f0f726c8f (patch) | |
tree | 5b6fb9aa84bb2654b2655b528d3887699d30fb9a /chrome/test/data | |
parent | f1cbc4644f1c41954e5f3562d723a471139ff465 (diff) | |
download | chromium_src-91c394a8ab7a4a3acd1721ccc314498f0f726c8f.zip chromium_src-91c394a8ab7a4a3acd1721ccc314498f0f726c8f.tar.gz chromium_src-91c394a8ab7a4a3acd1721ccc314498f0f726c8f.tar.bz2 |
Parse more user script info out of the manifest and expose
it on the Extension class.
Removed Extension::CopyToValue() because it was only being
used in unit tests.
Centralize functions for creation of absolute URLs and
paths to extension resources in Extension class and move
corresponding unit tests.
Various other minor nitpickery.
Review URL: http://codereview.chromium.org/18352
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8486 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data')
-rwxr-xr-x | chrome/test/data/extensions/extension1/manifest | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/chrome/test/data/extensions/extension1/manifest b/chrome/test/data/extensions/extension1/manifest index bfde176..a7b3d74 100755 --- a/chrome/test/data/extensions/extension1/manifest +++ b/chrome/test/data/extensions/extension1/manifest @@ -4,8 +4,14 @@ "version": "1.0",
"name": "My extension 1",
"description": "The first extension that I made.",
- "content_scripts": [
- "script1.user.js",
- "script2.user.js"
+ "user_scripts": [
+ {
+ "matches": ["http://*.google.com/*", "https://*.google.com/*"],
+ "files": ["script1.js"]
+ },
+ {
+ "matches": ["http://*.yahoo.com/*"],
+ "files": ["script2.js"]
+ }
]
}
|