Commit 911c7404 authored by Thiemo Nagel's avatar Thiemo Nagel Committed by Commit Bot

Remove inaccurate comment on powerful permissions

The logic has changed here:
https://chromium-review.googlesource.com/c/chromium/src/+/2038774

Bug: 888981
Change-Id: I02f4ca33477c3e6f3e77fd3021764b9ae96a99cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2298003Reviewed-by: default avatarAya Elsayed <ayaelattar@chromium.org>
Reviewed-by: default avatarMarc Treib <treib@chromium.org>
Commit-Queue: Marc Treib <treib@chromium.org>
Auto-Submit: Thiemo Nagel <tnagel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788552}
parent ae0dd321
...@@ -336,10 +336,6 @@ ChromePermissionMessageRule::GetAllRules() { ...@@ -336,10 +336,6 @@ ChromePermissionMessageRule::GetAllRules() {
// system should allow us to design a system that is simple enough to explain // system should allow us to design a system that is simple enough to explain
// yet powerful enough to encapsulate all the messages we want to display. // yet powerful enough to encapsulate all the messages we want to display.
ChromePermissionMessageRule rules_arr[] = { ChromePermissionMessageRule rules_arr[] = {
// BEGIN POWERFUL PERMISSIONS:
// The following permissions are shown in the chrome://management page.
// See also GetPowerfulPermissionMessages().
// Full access permission messages. // Full access permission messages.
{IDS_EXTENSION_PROMPT_WARNING_DEBUGGER, {APIPermission::kDebugger}, {}}, {IDS_EXTENSION_PROMPT_WARNING_DEBUGGER, {APIPermission::kDebugger}, {}},
{IDS_EXTENSION_PROMPT_WARNING_FULL_ACCESS, {IDS_EXTENSION_PROMPT_WARNING_FULL_ACCESS,
...@@ -453,8 +449,6 @@ ChromePermissionMessageRule::GetAllRules() { ...@@ -453,8 +449,6 @@ ChromePermissionMessageRule::GetAllRules() {
{APIPermission::kPrintingMetrics}, {APIPermission::kPrintingMetrics},
{}}, {}},
// END POWERFUL PERMISSIONS
{IDS_EXTENSION_PROMPT_WARNING_DECLARATIVE_WEB_REQUEST, {IDS_EXTENSION_PROMPT_WARNING_DECLARATIVE_WEB_REQUEST,
{APIPermission::kDeclarativeWebRequest}, {APIPermission::kDeclarativeWebRequest},
{}}, {}},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment