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

Unified Diff: content/renderer/media/video_capture_impl.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 comments. Rebased. Created 4 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
Index: content/renderer/media/video_capture_impl.cc
diff --git a/content/renderer/media/video_capture_impl.cc b/content/renderer/media/video_capture_impl.cc
index d6ef0e2177527f740df7b44070e88a2c5df26059..f5723caa2f46a627cb13ce060ab6709de8e2e460 100644
--- a/content/renderer/media/video_capture_impl.cc
+++ b/content/renderer/media/video_capture_impl.cc
@@ -222,6 +222,13 @@ void VideoCaptureImpl::RequestRefreshFrame() {
Send(new VideoCaptureHostMsg_RequestRefreshFrame(device_id_));
}
+void VideoCaptureImpl::SetCapturingLinkSecured(content::MediaStreamType type,
+ bool is_secure) {
+ DCHECK(io_task_runner_->BelongsToCurrentThread());
+ Send(new VideoCaptureHostMsg_SetCapturingLinkSecured(type, session_id_,
+ is_secure));
+}
+
void VideoCaptureImpl::GetDeviceSupportedFormats(
const VideoCaptureDeviceFormatsCB& callback) {
DCHECK(io_task_runner_->BelongsToCurrentThread());

Powered by Google App Engine
This is Rietveld 408576698