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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: extensions/common/api/_api_features.json
diff --git a/extensions/common/api/_api_features.json b/extensions/common/api/_api_features.json
index 5380a15a5e340fb2e79b95d93053db5e51838c87..e06016c9697b5e0cc0df33c6d9d526014658d9e8 100644
--- a/extensions/common/api/_api_features.json
+++ b/extensions/common/api/_api_features.json
@@ -300,9 +300,20 @@
"dependencies": ["permission:networking.config"],
"contexts": ["blessed_extension"]
},
+ "networking.onc": {
+ "dependencies": ["permission:networking.onc"],
+ "contexts": ["blessed_extension"],
+ "source": "networkingPrivate"
+ },
"networkingPrivate": [{
"dependencies": ["permission:networkingPrivate"],
- "contexts": ["blessed_extension"]
+ "contexts": ["blessed_extension"],
+ // TODO(tbarzic): networkingPrivate is being renamed to networking.onc.
+ // The goal is to eventually remove networkingPrivate API in favour of
+ // networking.onc, but until current usages are migrated to the new
+ // name, use API aliasing to expose the API under both names.
+ // (http://crbug.com/672186).
+ "alias": "networking.onc"
}, {
"channel": "stable",
"contexts": ["webui"],

Powered by Google App Engine
This is Rietveld 408576698