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

Unified Diff: media/base/video_capturer_source.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: media/base/video_capturer_source.h
diff --git a/media/base/video_capturer_source.h b/media/base/video_capturer_source.h
index ddec90c6599b26b564984e0b347d22472b4ca0df..4154303c1efc5acab027ddf56cc8b48cd32bf004 100644
--- a/media/base/video_capturer_source.h
+++ b/media/base/video_capturer_source.h
@@ -86,6 +86,10 @@ class MEDIA_EXPORT VideoCapturerSource {
// successfully, then |new_frame_callback| should be called with a frame.
virtual void RequestRefreshFrame() {}
+ // Notifies source the capturing link is secure. This is required by content
+ // output protection.
+ virtual void SetCapturingLinkSecured(bool is_secure) {}
miu 2016/04/26 01:25:14 Do we need this in the interface definition? It s
xjz 2016/04/29 00:11:42 Done. Removed the definition.
+
// Stops capturing frames and clears all callbacks including the
// SupportedFormatsCallback callback. Note that queued frame callbacks
// may still occur after this call, so the caller must take care to

Powered by Google App Engine
This is Rietveld 408576698