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

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

Issue 2558843002: Public Sessions - prompt the user for tabCapture requests (Closed)
Patch Set: Rebase Created 4 years 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/browser/BUILD.gn ('k') | chrome/browser/media/webrtc/media_capture_devices_dispatcher.cc » ('j') | 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 8486fd7d46490b9709f9dca317b20c4b1308633a..054591248faf5ce481252c4980a357fa8b6b9f35 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
@@ -451,9 +451,10 @@ const char* const kSafePermissionStrings[] = {
// access to page content, which we can't allow.
// "declarativeContent",
- // Allow, but either (1) ask user for confirmation or (2) return blank
- // capture.
- // "desktopCapture",
+ // User is prompted when an extension requests desktopCapture whether they
+ // want to allow it. The request is made through
+ // chrome.desktopCapture.chooseDesktopMedia call.
+ "desktopCapture",
// Haven't checked in detail what this does, but messing with devtools
// usually comes with the ability to access page content.
@@ -626,9 +627,9 @@ const char* const kSafePermissionStrings[] = {
// Enumerates removable storage.
"system.storage",
- // Provides access to screen contents, so block. Alternatively, (1) prompt
- // for user consent or (2) return blank capture.
- // "tabCapture",
+ // User is prompted (allow/deny) when an extension requests tabCapture. The
+ // request is made via chrome.tabCapture.capture call.
+ "tabCapture",
// Privacy sensitive URL access.
// "tabs",
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/media/webrtc/media_capture_devices_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698