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 chrome/common/extensions/api/_features.md to understand this file, as | 6 // See chrome/common/extensions/api/_features.md to understand this file, as |
7 // well as feature.h, simple_feature.h, and feature_provider.h. | 7 // well as feature.h, simple_feature.h, and 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] | 237 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] |
238 }, | 238 }, |
239 "metricsPrivate": [{ | 239 "metricsPrivate": [{ |
240 "dependencies": ["permission:metricsPrivate"], | 240 "dependencies": ["permission:metricsPrivate"], |
241 "contexts": ["blessed_extension"], | 241 "contexts": ["blessed_extension"], |
242 "default_parent": true | 242 "default_parent": true |
243 }, { | 243 }, { |
244 "channel": "trunk", | 244 "channel": "trunk", |
245 "contexts": ["webui"], | 245 "contexts": ["webui"], |
246 "matches": [ | 246 "matches": [ |
| 247 "chrome://bookmarks/*", |
247 "chrome://md-settings/*", | 248 "chrome://md-settings/*", |
248 "chrome://settings/*", | 249 "chrome://settings/*", |
249 "chrome://settings-frame/*" | 250 "chrome://settings-frame/*" |
250 ] | 251 ] |
251 }], | 252 }], |
252 "metricsPrivate.getIsCrashReportingEnabled": { | 253 "metricsPrivate.getIsCrashReportingEnabled": { |
253 "whitelist": [ | 254 "whitelist": [ |
254 // This function inherits the extension restrictions of metricsPrivate, | 255 // This function inherits the extension restrictions of metricsPrivate, |
255 // but also requires whitelisting. New uses of this function should get | 256 // but also requires whitelisting. New uses of this function should get |
256 // /tools/metrics/OWNERS approval of the usage before adding entries | 257 // /tools/metrics/OWNERS approval of the usage before adding entries |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 }, { | 534 }, { |
534 "channel": "stable", | 535 "channel": "stable", |
535 "contexts": ["webui"], | 536 "contexts": ["webui"], |
536 "matches": [ | 537 "matches": [ |
537 "chrome://chrome-signin/*", | 538 "chrome://chrome-signin/*", |
538 "chrome://media-router/*", | 539 "chrome://media-router/*", |
539 "chrome://oobe/*" | 540 "chrome://oobe/*" |
540 ] | 541 ] |
541 }] | 542 }] |
542 } | 543 } |
OLD | NEW |