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

Unified Diff: chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc

Issue 2858013002: PS - Showing permission prompt for activeTab (Closed)
Patch Set: Changed permission prompt message Created 3 years, 7 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/browser/chromeos/extensions/device_local_account_management_policy_provider.cc
diff --git a/chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc b/chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc
index 92948d8182cedf311ee3577028911272c4b4b7f3..48ef2a1a56db06f8871f7bffb0e043519e7c3c9e 100644
--- a/chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc
+++ b/chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc
@@ -389,7 +389,9 @@ const char* const kSafePermissionStrings[] = {
// doesn't trigger a permission warning on install though, so blocking is
// somewhat at odds with the spirit of the API - however I presume the API
// design assumes user-installed extensions, which we don't have here.
- // "activeTab",
+ // Whitelisted because it's restricted now (asks user for permission the
+ // first time an extension tries to use it).
+ "activeTab",
// Schedule code to run at future times.
"alarms",

Powered by Google App Engine
This is Rietveld 408576698