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

Unified Diff: content/browser/renderer_host/media/video_capture_host.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/browser/renderer_host/media/video_capture_host.h
diff --git a/content/browser/renderer_host/media/video_capture_host.h b/content/browser/renderer_host/media/video_capture_host.h
index 800f562e16f6fd66fadfa8c3fc4aeab26032411b..06ce4049c7f591dabbdb71f6267f76184d229896 100644
--- a/content/browser/renderer_host/media/video_capture_host.h
+++ b/content/browser/renderer_host/media/video_capture_host.h
@@ -61,6 +61,7 @@
#include "content/browser/renderer_host/media/video_capture_controller_event_handler.h"
#include "content/common/content_export.h"
#include "content/public/browser/browser_message_filter.h"
+#include "content/public/common/media_stream_request.h"
#include "ipc/ipc_message.h"
namespace content {
@@ -131,6 +132,11 @@ class CONTENT_EXPORT VideoCaptureHost
// resolve picture loss or quality issues).
void OnRequestRefreshFrame(int device_id);
+ // IPC message: Set if the video capturing is secure.
+ void OnSetCapturingLinkSecured(content::MediaStreamType type,
+ int session_id,
+ bool is_secure);
+
// IPC message: Called when a renderer is finished using a buffer. Notifies
// the controller.
void OnRendererFinishedWithBuffer(int device_id,

Powered by Google App Engine
This is Rietveld 408576698