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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "test1": { 2 "test1": {
3 "contexts": ["content_script", "blessed_extension", "unblessed_extension"] 3 "contexts": ["content_script", "blessed_extension", "unblessed_extension"]
4 }, 4 },
5 "test2": { 5 "test2": {
6 "contexts": ["web_page"], 6 "contexts": ["web_page"],
7 "matches": ["<all_urls>"] 7 "matches": ["<all_urls>"]
8 }, 8 },
9 "test2.foo": { 9 "test2.foo": {
10 "contexts": ["content_script"] 10 "contexts": ["content_script"]
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 }, 43 },
44 "test7.foo": { 44 "test7.foo": {
45 "contexts": ["web_page"], 45 "contexts": ["web_page"],
46 "matches": ["<all_urls>"], 46 "matches": ["<all_urls>"],
47 "dependencies": ["test7"] 47 "dependencies": ["test7"]
48 }, 48 },
49 "test7.bar": { 49 "test7.bar": {
50 "contexts": ["web_page"], 50 "contexts": ["web_page"],
51 "matches": ["http://bar.com/*"], 51 "matches": ["http://bar.com/*"],
52 "dependencies": ["test7.foo"] 52 "dependencies": ["test7.foo"]
53 },
54
55 "parent1": {
56 "contexts": ["content_script"]
57 },
58 "child1": {
59 "parent": "parent1",
60 "contexts": ["web_page"],
61 "matches": ["<all_urls>"]
62 },
63 "child2": {
64 "parent": "parent1"
65 },
66 "parent2": {
67 "contexts": ["content_script", "blessed_extension", "unblessed_extension"]
68 },
69 "child3": {
70 "parent": "parent2",
71 "contexts": ["blessed_extension"]
72 },
73 "child.child": {
74 "parent": "child3",
75 "contexts": ["content_script", "unblessed_extension"]
53 } 76 }
54 } 77 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698