| 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 // preferencesPrivate is the only API that uses types.private. | 282 // preferencesPrivate is the only API that uses types.private. |
| 283 // If any other APIs need it then they'll need to be added in | 283 // If any other APIs need it then they'll need to be added in |
| 284 // separate rules. | 284 // separate rules. |
| 285 "dependencies": ["permission:preferencesPrivate"], | 285 "dependencies": ["permission:preferencesPrivate"], |
| 286 "contexts": ["blessed_extension"] | 286 "contexts": ["blessed_extension"] |
| 287 }, | 287 }, |
| 288 "usb": { | 288 "usb": { |
| 289 "dependencies": ["permission:usb"], | 289 "dependencies": ["permission:usb"], |
| 290 "contexts": ["blessed_extension"] | 290 "contexts": ["blessed_extension"] |
| 291 }, | 291 }, |
| 292 "usb.getUserSelectedDevices": { |
| 293 "channel": "dev", |
| 294 "dependencies": ["permission:usb"], |
| 295 "contexts": ["blessed_extension"] |
| 296 }, |
| 292 "webRequest": { | 297 "webRequest": { |
| 293 "dependencies": ["permission:webRequest"], | 298 "dependencies": ["permission:webRequest"], |
| 294 "contexts": ["blessed_extension"] | 299 "contexts": ["blessed_extension"] |
| 295 }, | 300 }, |
| 296 "webRequestInternal": [{ | 301 "webRequestInternal": [{ |
| 297 "internal": true, | 302 "internal": true, |
| 298 "channel": "stable", | 303 "channel": "stable", |
| 299 "contexts": ["blessed_extension"] | 304 "contexts": ["blessed_extension"] |
| 300 }, { | 305 }, { |
| 301 // webview uses webRequestInternal API. | 306 // webview uses webRequestInternal API. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 }], | 339 }], |
| 335 "webViewRequest": [{ | 340 "webViewRequest": [{ |
| 336 "dependencies": ["permission:webview"], | 341 "dependencies": ["permission:webview"], |
| 337 "contexts": ["blessed_extension"] | 342 "contexts": ["blessed_extension"] |
| 338 }, { | 343 }, { |
| 339 "channel": "stable", | 344 "channel": "stable", |
| 340 "contexts": ["webui"], | 345 "contexts": ["webui"], |
| 341 "matches": ["chrome://chrome-signin/*"] | 346 "matches": ["chrome://chrome-signin/*"] |
| 342 }] | 347 }] |
| 343 } | 348 } |
| OLD | NEW |