Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(533)

Side by Side Diff: extensions/common/api/_api_features.json

Issue 2470193002: Introduce networking.onc as an alias for networkingPrivate (Closed)
Patch Set: allow optional permission Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 "networking.onc": {
304 "dependencies": ["permission:networking.onc"],
305 "contexts": ["blessed_extension"],
306 "source": "networkingPrivate"
307 },
303 "networkingPrivate": [{ 308 "networkingPrivate": [{
304 "dependencies": ["permission:networkingPrivate"], 309 "dependencies": ["permission:networkingPrivate"],
305 "contexts": ["blessed_extension"] 310 "contexts": ["blessed_extension"],
311 // TODO(tbarzic): networkingPrivate is being renamed to networking.onc.
312 // The goal is to eventually remove networkingPrivate API in favour of
313 // networking.onc, but until current usages are migrated to the new
314 // name, use API aliasing to expose the API under both names.
315 // (http://crbug.com/672186).
316 "alias": "networking.onc"
306 }, { 317 }, {
307 "channel": "stable", 318 "channel": "stable",
308 "contexts": ["webui"], 319 "contexts": ["webui"],
309 "matches": [ 320 "matches": [
310 "chrome://md-settings/*", 321 "chrome://md-settings/*",
311 "chrome://network/*", 322 "chrome://network/*",
312 "chrome://oobe/*", 323 "chrome://oobe/*",
313 "chrome://settings/*", 324 "chrome://settings/*",
314 "chrome://settings-frame/*" 325 "chrome://settings-frame/*"
315 ] 326 ]
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 }, { 529 }, {
519 "channel": "stable", 530 "channel": "stable",
520 "contexts": ["webui"], 531 "contexts": ["webui"],
521 "matches": [ 532 "matches": [
522 "chrome://chrome-signin/*", 533 "chrome://chrome-signin/*",
523 "chrome://media-router/*", 534 "chrome://media-router/*",
524 "chrome://oobe/*" 535 "chrome://oobe/*"
525 ] 536 ]
526 }] 537 }]
527 } 538 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698