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

Unified Diff: content/renderer/media/media_stream_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. 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/media_stream_video_capturer_source.h
diff --git a/content/renderer/media/media_stream_video_capturer_source.h b/content/renderer/media/media_stream_video_capturer_source.h
index 2d79f944b84845cd5d5ae410d6b0bd5b879c473a..40a9ba66d144d451402b3e07e891829d340193b7 100644
--- a/content/renderer/media/media_stream_video_capturer_source.h
+++ b/content/renderer/media/media_stream_video_capturer_source.h
@@ -35,6 +35,8 @@ class CONTENT_EXPORT MediaStreamVideoCapturerSource
// Implements MediaStreamVideoSource.
void RequestRefreshFrame() override;
+ void SetCapturingLinkSecured(bool is_secure) override;
+
private:
friend class CanvasCaptureHandlerTest;
friend class MediaStreamVideoCapturerSourceTest;
@@ -59,6 +61,9 @@ class CONTENT_EXPORT MediaStreamVideoCapturerSource
// The source that provides video frames.
const std::unique_ptr<media::VideoCapturerSource> source_;
+ // Return true if the video frames are from local video capturer.
+ bool is_local_video_capturer_source_;
+
DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoCapturerSource);
};

Powered by Google App Engine
This is Rietveld 408576698