Chromium Code Reviews| 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 base_feature_provider.h. | 7 // well as 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 293 "C17CD9E6868D7B9C67926E0EC612EA25C768418F", // http://crbug.com/448569 | 293 "C17CD9E6868D7B9C67926E0EC612EA25C768418F", // http://crbug.com/448569 |
| 294 "A45DABDB47A31CC812E5490AB748C7D05E2D32E9", | 294 "A45DABDB47A31CC812E5490AB748C7D05E2D32E9", |
| 295 "BFEE2E3B80BE21A645E63E9346DFC383E7CB3BDA", | 295 "BFEE2E3B80BE21A645E63E9346DFC383E7CB3BDA", |
| 296 "63ED55E43214C211F82122ED56407FF1A807F2A3" | 296 "63ED55E43214C211F82122ED56407FF1A807F2A3" |
| 297 ] | 297 ] |
| 298 }, | 298 }, |
| 299 "networking.config": { | 299 "networking.config": { |
| 300 "dependencies": ["permission:networking.config"], | 300 "dependencies": ["permission:networking.config"], |
| 301 "contexts": ["blessed_extension"] | 301 "contexts": ["blessed_extension"] |
| 302 }, | 302 }, |
| 303 "networkingPrivate": [{ | 303 "networking.onc": [{ |
| 304 "dependencies": ["permission:networkingPrivate"], | 304 "dependencies": ["permission:networking.onc"], |
| 305 "contexts": ["blessed_extension"] | 305 "contexts": ["blessed_extension"], |
| 306 "source": "networkingPrivate" | |
| 306 }, { | 307 }, { |
| 307 "channel": "stable", | 308 "channel": "stable", |
|
Devlin
2016/12/09 18:23:20
Do we need this? It seems like for webui we shoul
tbarzic
2016/12/09 18:51:32
Sure, I can add this when we switch web UI to netw
| |
| 308 "contexts": ["webui"], | 309 "contexts": ["webui"], |
| 310 "matches": [ | |
| 311 "chrome://md-settings/*", | |
| 312 "chrome://network/*", | |
| 313 "chrome://oobe/*", | |
| 314 "chrome://settings/*", | |
| 315 "chrome://settings-frame/*" | |
| 316 ] | |
| 317 }], | |
| 318 "networkingPrivate": [{ | |
| 319 "dependencies": ["permission:networkingPrivate"], | |
| 320 "contexts": ["blessed_extension"], | |
| 321 // TODO(tbarzic): networkingPrivate is being renamed to networking.onc. | |
| 322 // The goal is to eventually remove networkingPrivate API in favour of | |
| 323 // networking.onc, but until current usages are migrated to the new | |
| 324 // name, use API aliasing to expose the API under both names. | |
| 325 // (http://crbug.com/672186). | |
| 326 "alias": "networking.onc" | |
| 327 }, { | |
| 328 "channel": "stable", | |
| 329 "contexts": ["webui"], | |
| 309 "matches": [ | 330 "matches": [ |
| 310 "chrome://md-settings/*", | 331 "chrome://md-settings/*", |
| 311 "chrome://network/*", | 332 "chrome://network/*", |
| 312 "chrome://oobe/*", | 333 "chrome://oobe/*", |
| 313 "chrome://settings/*", | 334 "chrome://settings/*", |
| 314 "chrome://settings-frame/*" | 335 "chrome://settings-frame/*" |
| 315 ] | 336 ] |
| 316 }], | 337 }], |
| 317 "power": { | 338 "power": { |
| 318 "dependencies": ["permission:power"], | 339 "dependencies": ["permission:power"], |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 518 }, { | 539 }, { |
| 519 "channel": "stable", | 540 "channel": "stable", |
| 520 "contexts": ["webui"], | 541 "contexts": ["webui"], |
| 521 "matches": [ | 542 "matches": [ |
| 522 "chrome://chrome-signin/*", | 543 "chrome://chrome-signin/*", |
| 523 "chrome://media-router/*", | 544 "chrome://media-router/*", |
| 524 "chrome://oobe/*" | 545 "chrome://oobe/*" |
| 525 ] | 546 ] |
| 526 }] | 547 }] |
| 527 } | 548 } |
| OLD | NEW |