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

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: Comments from Antony 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | extensions/browser/api/display_source/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 66a4f2001c708d1216b309ed4c8decd1773df1c1..4ef877e718318f5a599f07074eefbf86c75edc69 100644
--- a/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
+++ b/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
@@ -633,6 +633,9 @@ ChromePermissionMessageRule::GetAllRules() {
{IDS_EXTENSION_PROMPT_WARNING_USERS_PRIVATE,
{APIPermission::kUsersPrivate},
{}},
+ {IDS_EXTENSION_PROMPT_WARNING_DISPLAY_SOURCE,
+ {APIPermission::kDisplaySource},
+ {}},
};
return std::vector<ChromePermissionMessageRule>(
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | extensions/browser/api/display_source/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698