16156237f7e2e5235321f3438bfb1c618fdd7f59
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / api / _manifest_features.json
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This features file defines manifest keys implemented under src/chrome.
6 // See extensions/common/features/* to understand this file, in particular
7 // feature.h, simple_feature.h, and base_feature_provider.h.
8
9 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash:
10 //
11 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \
12 // sha1sum | tr '[:lower:]' '[:upper:]'
13 // 9A0417016F345C934A1A88F55CA17C05014EEEBA  -
14 //
15 // Google employees: please update http://go/chrome-api-whitelist to map
16 // hashes back to ids.
17
18 {
19   "about_page": {
20     "channel": "stable",
21     "extension_types": ["shared_module"]
22   },
23   "app": {
24     "channel": "stable",
25     "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"]
26   },
27   "app.isolation": {
28     "channel": "stable",
29     // Platform apps always have isolated storage, thus they cannot specify it
30     // via the manifest.
31     "extension_types": ["legacy_packaged_app", "hosted_app"]
32   },
33   "app.launch": {
34     "channel": "stable",
35     "extension_types": ["legacy_packaged_app", "hosted_app"]
36   },
37   "app.service_worker": {
38     "channel": "trunk",  // When changing update tests: http://crbug.com/353209
39     "extension_types": ["platform_app"]
40   },
41   "author": {
42     "channel": "stable",
43     "extension_types": "all"
44   },
45   "automation": {
46     "channel": "trunk",
47     "extension_types": ["extension", "legacy_packaged_app"]
48   },
49   "bluetooth": [{
50     // Note: The "bluetooth" manifest permission is used by the
51     // chrome.bluetooth, chrome.bluetoothSocket and chrome.bluetoothLowEnergy
52     // APIs.
53     "channel": "stable",
54     "extension_types": ["platform_app"],
55     "platforms": ["chromeos", "win", "mac"]
56   }, {
57     "channel": "stable",
58     "extension_types": ["platform_app"],
59     "platforms": ["linux"],
60     "whitelist": [
61       "9E287A8257E58EFB13E89C86A4B75A3AC4B058D8",  // unit_tests browser_tests
62       "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80",  // http://crbug.com/396117
63       "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE",  // http://crbug.com/396117
64       "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",  // http://crbug.com/396117
65       "307E96539209F95A1A8740C713E6998A73657D96"   // http://crbug.com/396117
66     ]
67   }],
68   "browser_action": {
69     "channel": "stable",
70     "extension_types": ["extension"]
71   },
72   "chrome_settings_overrides": {
73     "channel": "stable",
74     "extension_types": ["extension"],
75     "platforms": ["win"]
76   },
77   "chrome_ui_overrides": [{
78     "channel": "dev",
79     "extension_types": ["extension"]
80   }, {
81     "channel": "stable",
82     "extension_types": ["extension"],
83     "whitelist": [
84       "CB2E4E7174A398FCB3AFA6840500C2E1D22DA7B2", // Bookmark Manager
85       "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900
86       "D57DE394F36DC1C3220E7604C575D29C51A6C495", // http://crbug.com/319444
87       "3F65507A3B39259B38C8173C6FFA3D12DF64CCE9"  // http://crbug.com/371562
88     ]
89   }],
90   "chrome_url_overrides": {
91     "channel": "stable",
92     "extension_types": ["extension", "legacy_packaged_app"]
93   },
94   "commands": {
95     "channel": "stable",
96     "extension_types": ["extension", "platform_app"],
97     "min_manifest_version": 2
98   },
99   "content_pack": {
100     "channel": "dev",
101     "extension_types": ["extension"]
102   },
103   "content_scripts": {
104     "channel": "stable",
105     "extension_types": ["extension", "legacy_packaged_app"]
106   },
107   "converted_from_user_script": {
108     "channel": "stable",
109     "extension_types": [
110       "extension", "legacy_packaged_app", "hosted_app"
111     ],
112     "no_doc": true
113   },
114   "current_locale": {
115     "channel": "stable",
116     "extension_types": "all"
117   },
118   "default_locale": {
119     "channel": "stable",
120     "extension_types": "all"
121   },
122   "description": {
123     "channel": "stable",
124     "extension_types": "all"
125   },
126   "devtools_page": {
127     "channel": "stable",
128     "extension_types": ["extension", "legacy_packaged_app"]
129   },
130   "display_in_launcher": [
131     {
132       "channel": "stable",
133       "extension_types": ["legacy_packaged_app", "platform_app", "hosted_app"],
134       "location": "component"
135     },
136     {
137       "channel": "stable",
138       "extension_types": ["legacy_packaged_app", "platform_app"],
139       "whitelist": [
140         "nmmhkkegccagdldgiimedpiccmgmieda"
141       ]
142     }
143   ],
144   "display_in_new_tab_page": [
145     {
146       "channel": "stable",
147       "extension_types": ["legacy_packaged_app", "platform_app", "hosted_app"],
148       "location": "component"
149     },
150     {
151       "channel": "stable",
152       "extension_types": ["legacy_packaged_app", "platform_app"],
153       "whitelist": [
154         "nmmhkkegccagdldgiimedpiccmgmieda"
155       ]
156     }
157   ],
158   "export": [
159     {
160       "channel": "stable",
161       "extension_types": ["shared_module"],
162       "whitelist": [
163         "6EAED1924DB611B6EEF2A664BD077BE7EAD33B8F",
164         "4EB74897CB187C7633357C2FE832E0AD6A44883A",
165         // Next four: http://crbug.com/357213
166         "mafeflapfdfljijmlienjedomfjfmhpd",
167         "ajchadodoajkaojdidnbblnfcdipbple",
168         "47F838F58D2A3B585DE50F29E3585D94999921D1",
169         "8EBAFB8DEB647EA2FC887A5E01EBD9BDC0FDC536"
170       ]
171     },
172     {
173       "channel": "dev",
174       "extension_types": ["shared_module"]
175     }
176   ],
177   "externally_connectable": {
178     "channel": "stable",
179     "extension_types": [
180       "extension", "hosted_app", "legacy_packaged_app", "platform_app"
181     ]
182   },
183   "file_browser_handlers": [
184     {
185       "channel": "stable",
186       "extension_types": ["extension", "legacy_packaged_app"]
187     },
188     {
189       "channel": "stable",
190       "extension_types": ["platform_app"],
191       "location": "component"
192     }
193   ],
194   "file_handlers": [
195   {
196     "channel": "stable",
197     "extension_types": ["platform_app"]
198   }, {
199     "channel": "stable",
200     "extension_types": [ "extension"],
201     "whitelist": [
202       "2FC374607C2DF285634B67C64A2E356C607091C3",  // Quickoffice
203       "3727DD3E564B6055387425027AD74C58784ACC15",  // Quickoffice internal
204       "12E618C3C6E97495AAECF2AC12DEB082353241C6"   // QO component extension
205     ]
206   }],
207   "homepage_url": {
208     "channel": "stable",
209     "extension_types": ["extension", "legacy_packaged_app"]
210   },
211   "icons": {
212     "channel": "stable",
213     "extension_types": "all"
214   },
215   "import": {
216     "channel": "stable",
217     "extension_types": "all"
218   },
219   "input_components": {
220     "channel": "stable",
221     "extension_types": ["extension", "legacy_packaged_app"]
222   },
223   "key": {
224     "channel": "stable",
225     "extension_types": "all"
226   },
227   "launcher_page": {
228     "channel": "stable",
229     "min_manifest_version": 2,
230     "extension_types": ["platform_app"],
231     "whitelist": [
232       "07BD6A765FFC289FF755D7CAB2893A40EC337FEC",  // http://crbug.com/404000
233       "896B85CC7E913E11C34892C1425A093C0701D386",  // http://crbug.com/404000
234       "11A01C82EF355E674E4F9728A801F5C3CB40D83F"   // http://crbug.com/404000
235     ]
236   },
237   "manifest_version": {
238     "channel": "stable",
239     "extension_types": "all"
240   },
241   "mime_types": {
242     "channel": "stable",
243     "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ],
244     "whitelist": [
245       "oickdpebdnfbgkcaoklfcdhjniefkcji",  // browser_tests
246       "gbkeegbaiigmenfmjfclcdgdpimamgkj",  // QuickOffice
247       "ionpfmkccalenbmnddpbmocokhaknphg",  // QuickOffice Dev
248       "bpmcpldpdmajfigpchkicefoigmkfalc",  // Quickoffice component extension
249       "ehibbfinohgbchlgdbfpikodjaojhccn",  // Editor
250       "mhjfbmdgcfjbbpaeojofohoefgiehjai"   // PDF
251     ]
252   },
253   "mime_types_handler": {
254     "channel": "stable",
255     "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ],
256     "whitelist": [
257       "oickdpebdnfbgkcaoklfcdhjniefkcji",  // browser_tests
258       "gbkeegbaiigmenfmjfclcdgdpimamgkj",  // QuickOffice
259       "ionpfmkccalenbmnddpbmocokhaknphg",  // QuickOffice Dev
260       "bpmcpldpdmajfigpchkicefoigmkfalc",  // Quickoffice component extension
261       "ehibbfinohgbchlgdbfpikodjaojhccn",  // Editor
262       "mhjfbmdgcfjbbpaeojofohoefgiehjai"   // PDF
263     ]
264   },
265   "minimum_chrome_version": {
266     "channel": "stable",
267     "extension_types": [
268       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
269     ]
270   },
271   "nacl_modules": {
272     "channel": "stable",
273     "extension_types": [
274       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
275     ]
276   },
277   "name": {
278     "channel": "stable",
279     "extension_types": "all"
280   },
281   "oauth2": {
282     "channel": "stable",
283     "extension_types": [
284       "extension", "legacy_packaged_app", "platform_app"
285     ]
286   },
287   "oauth2.auto_approve": {
288     "channel": "stable",
289     "extension_types": [
290       "extension", "platform_app"
291     ],
292     "whitelist": [
293       "mdbihdcgjmagbcapkhhkjbbdlkflmbfo",  // unit_tests
294       "pafkbggdmjlpgkdkcbjmhmfcdpncadgh",  // Google Now
295       "nmmhkkegccagdldgiimedpiccmgmieda",  // In-app payments support app.
296       "4B1D0E19C6C43C008C44A8278C8B5BFE15ABEB3C",
297       "F7FA7ABC1ECB89BA8EE6656847EFABBF43BB9BCA",
298       "1A26E32DE447A17CBE5E9750CDBA78F58539B39C",  // TODO(rockot): Kill these.
299       "E61F841D8210B6A9891E5384CB665FBED31FCD7B",  // http://crbug.com/281715
300
301       // TODO(joaodasilva): remove these two once we have the new policy to
302       // grant auto approval by ID. http://crbug.com/399392
303       "A8208CCC87F8261AFAEB6B85D5E8D47372DDEA6B",
304       "A4577D8C2AF4CF26F40CBCA83FFA4251D6F6C8F8"
305     ]
306   },
307   "omnibox": {
308     "channel": "stable",
309     "extension_types": ["extension", "legacy_packaged_app"]
310   },
311   "optional_permissions": {
312     "channel": "stable",
313     "extension_types": [
314       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
315     ]
316   },
317   "options_page": {
318     "channel": "stable",
319     "extension_types": [
320       "extension", "legacy_packaged_app", "hosted_app"
321     ]
322   },
323   "page_action": {
324     "channel": "stable",
325     "extension_types": ["extension"]
326   },
327   "page_actions": {
328     "channel": "stable",
329     "extension_types": ["extension"],
330     "max_manifest_version": 1
331   },
332   "permissions": {
333     "channel": "stable",
334     "extension_types": [
335       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
336     ]
337   },
338   "platforms": {
339     "channel": "stable",
340     "extension_types": "all"
341   },
342   "plugins": {
343     "channel": "stable",
344     "extension_types": ["extension", "legacy_packaged_app", "hosted_app"]
345   },
346   "requirements": {
347     "channel": "stable",
348     "extension_types": [
349       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
350     ]
351   },
352   "script_badge": {
353     "channel": "trunk",
354     "extension_types": ["extension"]
355   },
356   "short_name": {
357     "channel": "stable",
358     "extension_types": "all"
359   },
360   "signature": {
361     "channel": "stable",
362     "extension_types": "all"
363   },
364   "spellcheck": {
365     "channel": "dev",
366     "extension_types": ["extension"]
367   },
368   "storage": {
369     "channel": "stable",
370     "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
371     "min_manifest_version": 2
372   },
373   "system_indicator": [
374     {
375       "channel": "dev",
376       "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
377     },
378     {
379       "channel": "stable",
380       "whitelist": [
381         "F29716B08705C9D3C12CDFE3F638BAE709570C31",  // browser_tests
382         // See crbug.com/245730 for details on the Hangouts whitelist.
383         "53041A2FA309EECED01FFC751E7399186E860B2C",  // Hangouts
384         "312745D9BF916161191143F6490085EEA0434997",  // Hangouts beta
385         "A74A4D44C7CFCD8844830E6140C8D763E12DD8F3",  // Hangouts alpha
386         "E7E2461CE072DF036CF9592740196159E2D7C089",  // Hangouts debug
387         "49DA0B9CCEEA299186C6E7226FD66922D57543DC"   // Hangouts dev
388       ],
389       "extension_types": ["extension", "platform_app"]
390     }
391   ],
392   "theme": {
393     "channel": "stable",
394     "extension_types": ["theme"]
395   },
396   "tts_engine": {
397     "channel": "stable",
398     "extension_types": ["extension", "legacy_packaged_app"]
399   },
400   "update_url": {
401     "channel": "stable",
402     "extension_types": "all"
403   },
404   "url_handlers": {
405     "channel": "stable",
406     "extension_types": ["platform_app"]
407   },
408   "version": {
409     "channel": "stable",
410     "extension_types": "all"
411   }
412 }