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

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

Issue 1012173002: Install warning message for extensions that use chrome.mdns API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code for "mdns" permission installation warning Created 5 years, 9 months 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 0c61bce993e37f0aaca129bf64ac7d6f45130267..99bab6d001e1a459e1b79f19e43bde4e498c2fa0 100644
--- a/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
+++ b/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
@@ -450,6 +450,9 @@ ChromePermissionMessageRule::GetAllRules() {
{IDS_EXTENSION_PROMPT_WARNING_MANAGEMENT,
{APIPermission::kManagement},
{}},
+ {IDS_EXTENSION_PROMPT_WARNING_MDNS,
+ {APIPermission::kMDns},
+ {}},
{IDS_EXTENSION_PROMPT_WARNING_NATIVE_MESSAGING,
{APIPermission::kNativeMessaging},
{}},
« no previous file with comments | « chrome/common/extensions/permissions/chrome_api_permissions.cc ('k') | extensions/common/permissions/permission_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698