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

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

Issue 1106613005: Extensions: Switch to new permission message system, part IV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 8 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
« no previous file with comments | « no previous file | chrome/common/extensions/permissions/permission_set_unittest.cc » ('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 f5eca76b0a82f0cc0614c9bb382abe37779983a1..1f2ffae0f1f3052ac1782c1c3d602d1cb88d5f4c 100644
--- a/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
+++ b/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
@@ -320,10 +320,6 @@ ChromePermissionMessageRule::GetAllRules() {
APIPermission::kAccessibilityFeaturesRead},
{}},
- {IDS_EXTENSION_PROMPT_WARNING_AUDIO_AND_VIDEO_CAPTURE,
- {APIPermission::kAudioCapture, APIPermission::kVideoCapture},
- {}},
-
// TODO(sashab): Add the missing combinations of media galleries
// permissions so a valid permission is generated for all combinations.
{IDS_EXTENSION_PROMPT_WARNING_MEDIA_GALLERIES_READ_WRITE_DELETE,
@@ -544,6 +540,10 @@ ChromePermissionMessageRule::GetAllRules() {
{APIPermission::kStartupPages},
{}},
+ {IDS_EXTENSION_PROMPT_WARNING_AUDIO_AND_VIDEO_CAPTURE,
+ {APIPermission::kAudioCapture, APIPermission::kVideoCapture},
+ {}},
+
// Individual message rules taken from
// ExtensionsAPIPermissions::GetAllPermissions():
{IDS_EXTENSION_PROMPT_WARNING_AUDIO_CAPTURE,
« no previous file with comments | « no previous file | chrome/common/extensions/permissions/permission_set_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698