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

Unified Diff: chrome/test/data/extensions/extension_api_unittest/api_features.json

Issue 12846011: Implement API features for the Extension API feature system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed memory leak Created 7 years, 9 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/test/data/extensions/extension_api_unittest/api_features.json
diff --git a/chrome/test/data/extensions/extension_api_unittest/api_features.json b/chrome/test/data/extensions/extension_api_unittest/api_features.json
new file mode 100644
index 0000000000000000000000000000000000000000..476525d63faf4a564fe956127290b76cd6d895aa
--- /dev/null
+++ b/chrome/test/data/extensions/extension_api_unittest/api_features.json
@@ -0,0 +1,54 @@
+{
+ "test1": {
+ "contexts": ["content_script", "blessed_extension", "unblessed_extension"]
+ },
+ "test2": {
+ "contexts": ["web_page"],
+ "matches": ["<all_urls>"]
+ },
+ "test2.foo": {
+ "contexts": ["content_script"]
+ },
+ "test3": {
+ "contexts": ["content_script"]
+ },
+ "test3.foo": {
+ "contexts": ["web_page", "blessed_extension"],
+ "matches": ["<all_urls>"]
+ },
+ "test4": {
+ "contexts": ["blessed_extension"],
+ "dependencies": ["api:test3.foo"]
+ },
+ "test4.foo": {
+ "contexts": ["unblessed_extension"],
+ "dependencies": ["api:test4"]
+ },
+ "test4.foo.foo": {
+ "contexts": ["content_script"]
+ },
+ "test5": {
+ "contexts": ["web_page"],
+ "matches": ["http://foo.com/*"]
+ },
+ "test6": {
+ "contexts": ["content_script"]
+ },
+ "test6.foo": {
+ "contexts": ["blessed_extension"]
+ },
+ "test7": {
+ "contexts": ["web_page"],
+ "matches": ["http://foo.com/*"]
+ },
+ "test7.foo": {
+ "contexts": ["web_page"],
+ "matches": ["<all_urls>"],
+ "dependencies": ["test7"]
+ },
+ "test7.bar": {
+ "contexts": ["web_page"],
+ "matches": ["http://bar.com/*"],
+ "dependencies": ["test7.foo"]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698