| 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 }, | 281 }, |
| 282 "usb": { | 282 "usb": { |
| 283 "dependencies": ["permission:usb"], | 283 "dependencies": ["permission:usb"], |
| 284 "contexts": ["blessed_extension"] | 284 "contexts": ["blessed_extension"] |
| 285 }, | 285 }, |
| 286 "usb.getUserSelectedDevices": { | 286 "usb.getUserSelectedDevices": { |
| 287 "channel": "dev", | 287 "channel": "dev", |
| 288 "dependencies": ["permission:usb"], | 288 "dependencies": ["permission:usb"], |
| 289 "contexts": ["blessed_extension"] | 289 "contexts": ["blessed_extension"] |
| 290 }, | 290 }, |
| 291 "vpnProvider": { |
| 292 "dependencies": ["permission:vpnProvider"], |
| 293 "contexts": ["blessed_extension"] |
| 294 }, |
| 291 "webRequest": { | 295 "webRequest": { |
| 292 "dependencies": ["permission:webRequest"], | 296 "dependencies": ["permission:webRequest"], |
| 293 "contexts": ["blessed_extension"] | 297 "contexts": ["blessed_extension"] |
| 294 }, | 298 }, |
| 295 "webRequestInternal": [{ | 299 "webRequestInternal": [{ |
| 296 "internal": true, | 300 "internal": true, |
| 297 "channel": "stable", | 301 "channel": "stable", |
| 298 "contexts": ["blessed_extension"] | 302 "contexts": ["blessed_extension"] |
| 299 }, { | 303 }, { |
| 300 // webview uses webRequestInternal API. | 304 // webview uses webRequestInternal API. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 }], | 337 }], |
| 334 "webViewRequest": [{ | 338 "webViewRequest": [{ |
| 335 "dependencies": ["permission:webview"], | 339 "dependencies": ["permission:webview"], |
| 336 "contexts": ["blessed_extension"] | 340 "contexts": ["blessed_extension"] |
| 337 }, { | 341 }, { |
| 338 "channel": "stable", | 342 "channel": "stable", |
| 339 "contexts": ["webui"], | 343 "contexts": ["webui"], |
| 340 "matches": ["chrome://chrome-signin/*"] | 344 "matches": ["chrome://chrome-signin/*"] |
| 341 }] | 345 }] |
| 342 } | 346 } |
| OLD | NEW |