OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This features file defines extension APIs implemented under src/extensions. | 5 // This features file defines extension APIs implemented under src/extensions. |
6 // See extensions/common/features/* to understand this file, in particular | 6 // See extensions/common/features/* to understand this file, in particular |
7 // feature.h, simple_feature.h, and base_feature_provider.h. | 7 // feature.h, simple_feature.h, and base_feature_provider.h. |
8 // | 8 // |
9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context | 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context |
10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. | 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 // preferencesPrivate is the only API that uses types.private. | 325 // preferencesPrivate is the only API that uses types.private. |
326 // If any other APIs need it then they'll need to be added in | 326 // If any other APIs need it then they'll need to be added in |
327 // separate rules. | 327 // separate rules. |
328 "dependencies": ["permission:preferencesPrivate"], | 328 "dependencies": ["permission:preferencesPrivate"], |
329 "contexts": ["blessed_extension"] | 329 "contexts": ["blessed_extension"] |
330 }, | 330 }, |
331 "usb": { | 331 "usb": { |
332 "dependencies": ["permission:usb"], | 332 "dependencies": ["permission:usb"], |
333 "contexts": ["blessed_extension"] | 333 "contexts": ["blessed_extension"] |
334 }, | 334 }, |
| 335 "usb.setConfiguration": { |
| 336 "dependencies": ["permission:usb"], |
| 337 "contexts": ["blessed_extension"], |
| 338 "channel": "dev" |
| 339 }, |
335 "vpnProvider": { | 340 "vpnProvider": { |
336 "dependencies": ["permission:vpnProvider"], | 341 "dependencies": ["permission:vpnProvider"], |
337 "contexts": ["blessed_extension"] | 342 "contexts": ["blessed_extension"] |
338 }, | 343 }, |
339 "webRequest": { | 344 "webRequest": { |
340 "dependencies": ["permission:webRequest"], | 345 "dependencies": ["permission:webRequest"], |
341 "contexts": ["blessed_extension"] | 346 "contexts": ["blessed_extension"] |
342 }, | 347 }, |
343 "webRequestInternal": [{ | 348 "webRequestInternal": [{ |
344 "internal": true, | 349 "internal": true, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 }], | 386 }], |
382 "webViewRequest": [{ | 387 "webViewRequest": [{ |
383 "dependencies": ["permission:webview"], | 388 "dependencies": ["permission:webview"], |
384 "contexts": ["blessed_extension"] | 389 "contexts": ["blessed_extension"] |
385 }, { | 390 }, { |
386 "channel": "stable", | 391 "channel": "stable", |
387 "contexts": ["webui"], | 392 "contexts": ["webui"], |
388 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] | 393 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] |
389 }] | 394 }] |
390 } | 395 } |
OLD | NEW |