Index: content/public/renderer/media_stream_video_sink.h |
diff --git a/content/public/renderer/media_stream_video_sink.h b/content/public/renderer/media_stream_video_sink.h |
index fd5334c4e6d1fb74929a48d3c025e7d6a9cf0e71..6710de7599feba51a888e861f0e2949dab99b4de 100644 |
--- a/content/public/renderer/media_stream_video_sink.h |
+++ b/content/public/renderer/media_stream_video_sink.h |
@@ -41,8 +41,13 @@ class CONTENT_EXPORT MediaStreamVideoSink : public MediaStreamSink { |
// Warning: Calling DisconnectFromTrack does not immediately stop frame |
// delivery through the |callback|, since frames are being delivered on a |
// different thread. |
+ // |
+ // |is_sink_secure| indicates if this MediaStreamVideoSink is secure (i.e. |
+ // meets output protection requirement). Generally, this should be false |
+ // unless you know what you are doing. |
void ConnectToTrack(const blink::WebMediaStreamTrack& track, |
- const VideoCaptureDeliverFrameCB& callback); |
+ const VideoCaptureDeliverFrameCB& callback, |
+ bool is_sink_secure); |
void DisconnectFromTrack(); |
// Returns the currently-connected track, or a null instance otherwise. |