Chromium Code Reviews| Index: content/common/media/video_capture_messages.h |
| diff --git a/content/common/media/video_capture_messages.h b/content/common/media/video_capture_messages.h |
| index 5241898beb2da74a58d5ee00e46fb02a4f231f82..30347a3244d8c169d8cc3f98900c9eeb76e2c0f4 100644 |
| --- a/content/common/media/video_capture_messages.h |
| +++ b/content/common/media/video_capture_messages.h |
| @@ -6,6 +6,7 @@ |
| #include "content/common/content_export.h" |
| #include "content/common/media/video_capture.h" |
| #include "content/public/common/common_param_traits.h" |
| +#include "content/public/common/media_stream_request.h" |
| #include "ipc/ipc_message_macros.h" |
| #include "media/base/video_capture_types.h" |
| #include "media/base/video_frame.h" |
| @@ -116,6 +117,13 @@ IPC_MESSAGE_CONTROL1(VideoCaptureHostMsg_RequestRefreshFrame, |
| IPC_MESSAGE_CONTROL1(VideoCaptureHostMsg_Stop, |
| int /* device_id */) |
| +// Tell the browser process if the video capture is secure (i.e., all |
| +// connected video sinks meet the requirement of output protection.). |
| +IPC_MESSAGE_CONTROL3(VideoCaptureHostMsg_SetCapturingLinkSecured, |
|
miu
2016/04/26 01:25:13
Hmm...It seems like this should be a MediaStreamHo
xjz
2016/04/29 00:11:42
The reason to use MediaStreamType here is that the
miu
2016/05/02 21:02:45
I should have explained more clearly before: What
xjz
2016/05/04 18:23:48
Thanks for the clear explanation! Changed the IPC
|
| + content::MediaStreamType, /* type */ |
| + int, /* session_id */ |
| + bool /* is_secure */) |
| + |
| // Tell the browser process that the renderer has finished reading from |
| // a buffer previously delivered by VideoCaptureMsg_BufferReady. |
| IPC_MESSAGE_CONTROL4(VideoCaptureHostMsg_BufferReady, |