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

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: 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..c4ec0b7d8a7151eb023330cd116ab3c98dd37582 100644
--- a/content/renderer/media/video_capture_impl.cc
+++ b/content/renderer/media/video_capture_impl.cc
@@ -222,6 +222,11 @@ void VideoCaptureImpl::RequestRefreshFrame() {
Send(new VideoCaptureHostMsg_RequestRefreshFrame(device_id_));
}
+void VideoCaptureImpl::SetCapturingLinkSecured(bool is_secure) {
+ DCHECK(io_task_runner_->BelongsToCurrentThread());
+ Send(new VideoCaptureHostMsg_SetCapturingLinkSecured(device_id_, is_secure));
+}
+
void VideoCaptureImpl::GetDeviceSupportedFormats(
const VideoCaptureDeviceFormatsCB& callback) {
DCHECK(io_task_runner_->BelongsToCurrentThread());

Powered by Google App Engine
This is Rietveld 408576698