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

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: more comments and fixed tests Created 7 years, 7 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..507880c9f56b5aec66c753e3eac87a233bde81aa 100644
--- a/chrome/test/data/extensions/extension_api_unittest/api_features.json
+++ b/chrome/test/data/extensions/extension_api_unittest/api_features.json
@@ -50,5 +50,28 @@
"contexts": ["web_page"],
"matches": ["http://bar.com/*"],
"dependencies": ["test7.foo"]
+ },
+
+ "parent1": {
+ "contexts": ["content_script"]
+ },
+ "child1": {
+ "parent": "parent1",
+ "contexts": ["web_page"],
+ "matches": ["<all_urls>"]
+ },
+ "child2": {
+ "parent": "parent1"
+ },
+ "parent2": {
+ "contexts": ["content_script", "blessed_extension", "unblessed_extension"]
+ },
+ "child3": {
+ "parent": "parent2",
+ "contexts": ["blessed_extension"]
+ },
+ "child.child": {
+ "parent": "child3",
+ "contexts": ["content_script", "unblessed_extension"]
}
}

Powered by Google App Engine
This is Rietveld 408576698