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

Unified Diff: content/public/renderer/media_stream_video_sink.h

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/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..dd0999a3589c168b59070155e1700edd9521e4a3 100644
--- a/content/public/renderer/media_stream_video_sink.h
+++ b/content/public/renderer/media_stream_video_sink.h
@@ -41,8 +41,12 @@ 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).
miu 2016/04/26 01:25:13 nit: Consider adding a cautionary comment like: "G
xjz 2016/04/29 00:11:42 Done.
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.

Powered by Google App Engine
This is Rietveld 408576698