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

Unified Diff: chrome/common/extensions/permissions/chrome_permission_message_rules.cc

Issue 2470193002: Introduce networking.onc as an alias for networkingPrivate (Closed)
Patch Set: . 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: chrome/common/extensions/permissions/chrome_permission_message_rules.cc
diff --git a/chrome/common/extensions/permissions/chrome_permission_message_rules.cc b/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
index 1f5011b573fb8dca594b268dc5c361ceb3ffb70f..99929aba00fd4c1de07c822d91675694a47b8d59 100644
--- a/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
+++ b/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
@@ -520,6 +520,9 @@ ChromePermissionMessageRule::GetAllRules() {
// Network-related permissions.
{IDS_EXTENSION_PROMPT_WARNING_NETWORKING_PRIVATE,
+ {APIPermission::kNetworkConfig},
+ {APIPermission::kNetworkingPrivate}},
+ {IDS_EXTENSION_PROMPT_WARNING_NETWORKING_PRIVATE,
{APIPermission::kNetworkingPrivate},
{}},
stevenjb 2016/12/07 21:35:31 I'm not familiar with how these rules work, but it
tbarzic 2016/12/07 22:32:53 Done.
{IDS_EXTENSION_PROMPT_WARNING_NETWORKING_CONFIG,
« no previous file with comments | « no previous file | extensions/common/api/_api_features.json » ('j') | extensions/common/api/_behavior_features.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698