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

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

Issue 2860653004: [Merge to M59] Whitelisted clipboardRead Permission (Closed)
Patch Set: Created 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 998c7cdd5ad3c6ed820d5d8e667dd9ec81c2a4a9..a5c461bc871fed77bc58a4d24e6f3d056cd4b2d0 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
@@ -433,10 +433,9 @@ const char* const kSafePermissionStrings[] = {
"certificateProvider",
- // This is risky, but blocking extensions just because they declare
- // clipboardRead is unfortunate. Options: (1) Make clipboardRead return
- // empty string (2) confirmation dialog.
- // "clipboardRead",
+ // clipboardRead is restricted to return an empty string (except for
+ // whitelisted extensions - ie. Chrome RDP client).
+ "clipboardRead",
// Writing to clipboard is safe.
"clipboardWrite",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698