| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 "contexts": ["blessed_extension"] | 241 "contexts": ["blessed_extension"] |
| 242 }, | 242 }, |
| 243 "metricsPrivate": [{ | 243 "metricsPrivate": [{ |
| 244 "dependencies": ["permission:metricsPrivate"], | 244 "dependencies": ["permission:metricsPrivate"], |
| 245 "contexts": ["blessed_extension"], | 245 "contexts": ["blessed_extension"], |
| 246 "default_parent": true | 246 "default_parent": true |
| 247 }, { | 247 }, { |
| 248 "channel": "stable", | 248 "channel": "stable", |
| 249 "contexts": ["webui"], | 249 "contexts": ["webui"], |
| 250 "matches": [ | 250 "matches": [ |
| 251 "chrome://bookmarks/*", |
| 251 "chrome://md-settings/*", | 252 "chrome://md-settings/*", |
| 252 "chrome://settings/*", | 253 "chrome://settings/*", |
| 253 "chrome://settings-frame/*" | 254 "chrome://settings-frame/*" |
| 254 ] | 255 ] |
| 255 }], | 256 }], |
| 256 "metricsPrivate.getIsCrashReportingEnabled": { | 257 "metricsPrivate.getIsCrashReportingEnabled": { |
| 257 "whitelist": [ | 258 "whitelist": [ |
| 258 // This function inherits the extension restrictions of metricsPrivate, | 259 // This function inherits the extension restrictions of metricsPrivate, |
| 259 // but also requires whitelisting. New uses of this function should get | 260 // but also requires whitelisting. New uses of this function should get |
| 260 // /tools/metrics/OWNERS approval of the usage before adding entries | 261 // /tools/metrics/OWNERS approval of the usage before adding entries |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 }, { | 538 }, { |
| 538 "channel": "stable", | 539 "channel": "stable", |
| 539 "contexts": ["webui"], | 540 "contexts": ["webui"], |
| 540 "matches": [ | 541 "matches": [ |
| 541 "chrome://chrome-signin/*", | 542 "chrome://chrome-signin/*", |
| 542 "chrome://media-router/*", | 543 "chrome://media-router/*", |
| 543 "chrome://oobe/*" | 544 "chrome://oobe/*" |
| 544 ] | 545 ] |
| 545 }] | 546 }] |
| 546 } | 547 } |
| OLD | NEW |