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

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

Issue 1410093008: Introduce chrome.displaySource API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added AuthenticationMethod enum Created 5 years, 1 month 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 fc388e04997c8d29857e2fe0ea8c92fc8336d829..33879263d70625ce8c3083dd3db6df96c2e2934a 100644
--- a/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
+++ b/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
@@ -638,6 +638,9 @@ ChromePermissionMessageRule::GetAllRules() {
{IDS_EXTENSION_PROMPT_WARNING_USERS_PRIVATE,
{APIPermission::kUsersPrivate},
{}},
+ {IDS_EXTENSION_PROMPT_WARNING_DISPLAY_SOURCE,
+ {APIPermission::kDisplaySource},
+ {}},
};
return std::vector<ChromePermissionMessageRule>(

Powered by Google App Engine
This is Rietveld 408576698