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

Unified Diff: chrome/browser/media/tab_capture_access_handler.cc

Issue 1873293002: Report if video capturing meets output protection requirement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed oshima and nasko's comments, and rebased. Created 4 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
« no previous file with comments | « chrome/browser/media/tab_capture_access_handler.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/tab_capture_access_handler.cc
diff --git a/chrome/browser/media/tab_capture_access_handler.cc b/chrome/browser/media/tab_capture_access_handler.cc
index 50d05424c848217b059407b6cecd8cad1db738e3..4a4bb6852c8840fdc46cb1277b33a0e811e52c16 100644
--- a/chrome/browser/media/tab_capture_access_handler.cc
+++ b/chrome/browser/media/tab_capture_access_handler.cc
@@ -79,6 +79,7 @@ void TabCaptureAccessHandler::HandleRequest(
->GetMediaStreamCaptureIndicator()
->RegisterMediaStream(web_contents, devices);
}
+ UpdateExtensionTrusted(request, extension);
callback.Run(devices, devices.empty() ? content::MEDIA_DEVICE_INVALID_STATE
: content::MEDIA_DEVICE_OK,
std::move(ui));
« no previous file with comments | « chrome/browser/media/tab_capture_access_handler.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698