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

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

Issue 15091002: Lazily load API schemas from resource files and convert all APIs to features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos tests Created 7 years, 6 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
index 476525d63faf4a564fe956127290b76cd6d895aa..9cde5a66a6a54b08284a90ad32e0060022b0bdb3 100644
--- a/chrome/test/data/extensions/extension_api_unittest/api_features.json
+++ b/chrome/test/data/extensions/extension_api_unittest/api_features.json
@@ -1,8 +1,10 @@
{
"test1": {
+ "channel": "trunk",
"contexts": ["content_script", "blessed_extension", "unblessed_extension"]
},
"test2": {
+ "channel": "trunk",
"contexts": ["web_page"],
"matches": ["<all_urls>"]
},
@@ -10,6 +12,7 @@
"contexts": ["content_script"]
},
"test3": {
+ "channel": "trunk",
"contexts": ["content_script"]
},
"test3.foo": {
@@ -17,6 +20,7 @@
"matches": ["<all_urls>"]
},
"test4": {
+ "channel": "trunk",
"contexts": ["blessed_extension"],
"dependencies": ["api:test3.foo"]
},
@@ -25,19 +29,23 @@
"dependencies": ["api:test4"]
},
"test4.foo.foo": {
- "contexts": ["content_script"]
+ "contexts": ["content_script"],
+ "dependencies": []
},
"test5": {
+ "channel": "trunk",
"contexts": ["web_page"],
"matches": ["http://foo.com/*"]
},
"test6": {
+ "channel": "trunk",
"contexts": ["content_script"]
},
"test6.foo": {
"contexts": ["blessed_extension"]
},
"test7": {
+ "channel": "trunk",
"contexts": ["web_page"],
"matches": ["http://foo.com/*"]
},
@@ -50,5 +58,37 @@
"contexts": ["web_page"],
"matches": ["http://bar.com/*"],
"dependencies": ["test7.foo"]
+ },
+
+ "parent1": {
+ "channel": "trunk",
+ "contexts": ["content_script"]
+ },
+ "parent1.child1": {
+ "contexts": ["web_page"],
+ "matches": ["<all_urls>"]
+ },
+ "parent1.child2": {
+ },
+ "parent2": {
+ "channel": "trunk",
+ "contexts": ["content_script", "blessed_extension", "unblessed_extension"]
+ },
+ "parent2.child3": {
+ "contexts": ["blessed_extension"]
+ },
+ "parent2.child3.child.child": {
+ "contexts": ["content_script", "unblessed_extension"]
+ },
+ "parent3": {
+ "dependencies": ["api:parent1"],
+ "contexts": ["content_script", "blessed_extension", "unblessed_extension"]
+ },
+ "parent3.noparent": {
+ "channel": "trunk",
+ "noparent": true,
+ "contexts": ["content_script", "blessed_extension", "unblessed_extension"]
+ },
+ "parent3.noparent.child": {
}
}

Powered by Google App Engine
This is Rietveld 408576698