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

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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "test1": { 2 "test1": {
3 "channel": "trunk",
3 "contexts": ["content_script", "blessed_extension", "unblessed_extension"] 4 "contexts": ["content_script", "blessed_extension", "unblessed_extension"]
4 }, 5 },
5 "test2": { 6 "test2": {
7 "channel": "trunk",
6 "contexts": ["web_page"], 8 "contexts": ["web_page"],
7 "matches": ["<all_urls>"] 9 "matches": ["<all_urls>"]
8 }, 10 },
9 "test2.foo": { 11 "test2.foo": {
10 "contexts": ["content_script"] 12 "contexts": ["content_script"]
11 }, 13 },
12 "test3": { 14 "test3": {
15 "channel": "trunk",
13 "contexts": ["content_script"] 16 "contexts": ["content_script"]
14 }, 17 },
15 "test3.foo": { 18 "test3.foo": {
16 "contexts": ["web_page", "blessed_extension"], 19 "contexts": ["web_page", "blessed_extension"],
17 "matches": ["<all_urls>"] 20 "matches": ["<all_urls>"]
18 }, 21 },
19 "test4": { 22 "test4": {
23 "channel": "trunk",
20 "contexts": ["blessed_extension"], 24 "contexts": ["blessed_extension"],
21 "dependencies": ["api:test3.foo"] 25 "dependencies": ["api:test3.foo"]
22 }, 26 },
23 "test4.foo": { 27 "test4.foo": {
24 "contexts": ["unblessed_extension"], 28 "contexts": ["unblessed_extension"],
25 "dependencies": ["api:test4"] 29 "dependencies": ["api:test4"]
26 }, 30 },
27 "test4.foo.foo": { 31 "test4.foo.foo": {
28 "contexts": ["content_script"] 32 "contexts": ["content_script"],
33 "dependencies": []
29 }, 34 },
30 "test5": { 35 "test5": {
36 "channel": "trunk",
31 "contexts": ["web_page"], 37 "contexts": ["web_page"],
32 "matches": ["http://foo.com/*"] 38 "matches": ["http://foo.com/*"]
33 }, 39 },
34 "test6": { 40 "test6": {
41 "channel": "trunk",
35 "contexts": ["content_script"] 42 "contexts": ["content_script"]
36 }, 43 },
37 "test6.foo": { 44 "test6.foo": {
38 "contexts": ["blessed_extension"] 45 "contexts": ["blessed_extension"]
39 }, 46 },
40 "test7": { 47 "test7": {
48 "channel": "trunk",
41 "contexts": ["web_page"], 49 "contexts": ["web_page"],
42 "matches": ["http://foo.com/*"] 50 "matches": ["http://foo.com/*"]
43 }, 51 },
44 "test7.foo": { 52 "test7.foo": {
45 "contexts": ["web_page"], 53 "contexts": ["web_page"],
46 "matches": ["<all_urls>"], 54 "matches": ["<all_urls>"],
47 "dependencies": ["test7"] 55 "dependencies": ["test7"]
48 }, 56 },
49 "test7.bar": { 57 "test7.bar": {
50 "contexts": ["web_page"], 58 "contexts": ["web_page"],
51 "matches": ["http://bar.com/*"], 59 "matches": ["http://bar.com/*"],
52 "dependencies": ["test7.foo"] 60 "dependencies": ["test7.foo"]
61 },
62
63 "parent1": {
64 "channel": "trunk",
65 "contexts": ["content_script"]
66 },
67 "parent1.child1": {
68 "contexts": ["web_page"],
69 "matches": ["<all_urls>"]
70 },
71 "parent1.child2": {
72 },
73 "parent2": {
74 "channel": "trunk",
75 "contexts": ["content_script", "blessed_extension", "unblessed_extension"]
76 },
77 "parent2.child3": {
78 "contexts": ["blessed_extension"]
79 },
80 "parent2.child3.child.child": {
81 "contexts": ["content_script", "unblessed_extension"]
82 },
83 "parent3": {
84 "dependencies": ["api:parent1"],
85 "contexts": ["content_script", "blessed_extension", "unblessed_extension"]
86 },
87 "parent3.noparent": {
88 "channel": "trunk",
89 "noparent": true,
90 "contexts": ["content_script", "blessed_extension", "unblessed_extension"]
91 },
92 "parent3.noparent.child": {
53 } 93 }
54 } 94 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698