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

Side by Side Diff: content/common/media/video_capture_messages.h

Issue 1873293002: Report if video capturing meets output protection requirement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/memory/shared_memory.h" 5 #include "base/memory/shared_memory.h"
6 #include "content/common/content_export.h" 6 #include "content/common/content_export.h"
7 #include "content/common/media/video_capture.h" 7 #include "content/common/media/video_capture.h"
8 #include "content/public/common/common_param_traits.h" 8 #include "content/public/common/common_param_traits.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "media/base/video_capture_types.h" 10 #include "media/base/video_capture_types.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 // Requests that the video capturer send a frame "soon" (e.g., to resolve 110 // Requests that the video capturer send a frame "soon" (e.g., to resolve
111 // picture loss or quality issues). 111 // picture loss or quality issues).
112 IPC_MESSAGE_CONTROL1(VideoCaptureHostMsg_RequestRefreshFrame, 112 IPC_MESSAGE_CONTROL1(VideoCaptureHostMsg_RequestRefreshFrame,
113 int /* device_id */) 113 int /* device_id */)
114 114
115 // Close the video capture specified by |device_id|. 115 // Close the video capture specified by |device_id|.
116 IPC_MESSAGE_CONTROL1(VideoCaptureHostMsg_Stop, 116 IPC_MESSAGE_CONTROL1(VideoCaptureHostMsg_Stop,
117 int /* device_id */) 117 int /* device_id */)
118 118
119 // Tell the browser process if the video capture is secure (i.e., all
120 // connected video sinks meet the requirement of output protection.).
121 IPC_MESSAGE_CONTROL2(VideoCaptureHostMsg_SetCapturingLinkSecured,
122 int, /* device_id */
123 bool /* is_secure */)
124
119 // Tell the browser process that the renderer has finished reading from 125 // Tell the browser process that the renderer has finished reading from
120 // a buffer previously delivered by VideoCaptureMsg_BufferReady. 126 // a buffer previously delivered by VideoCaptureMsg_BufferReady.
121 IPC_MESSAGE_CONTROL4(VideoCaptureHostMsg_BufferReady, 127 IPC_MESSAGE_CONTROL4(VideoCaptureHostMsg_BufferReady,
122 int /* device_id */, 128 int /* device_id */,
123 int /* buffer_id */, 129 int /* buffer_id */,
124 gpu::SyncToken /* sync_token */, 130 gpu::SyncToken /* sync_token */,
125 double /* consumer_resource_utilization */) 131 double /* consumer_resource_utilization */)
126 132
127 // Get the formats supported by a device referenced by |capture_session_id|. 133 // Get the formats supported by a device referenced by |capture_session_id|.
128 IPC_MESSAGE_CONTROL2(VideoCaptureHostMsg_GetDeviceSupportedFormats, 134 IPC_MESSAGE_CONTROL2(VideoCaptureHostMsg_GetDeviceSupportedFormats,
129 int /* device_id */, 135 int /* device_id */,
130 media::VideoCaptureSessionId /* session_id */) 136 media::VideoCaptureSessionId /* session_id */)
131 137
132 // Get the format(s) in use by a device referenced by |capture_session_id|. 138 // Get the format(s) in use by a device referenced by |capture_session_id|.
133 IPC_MESSAGE_CONTROL2(VideoCaptureHostMsg_GetDeviceFormatsInUse, 139 IPC_MESSAGE_CONTROL2(VideoCaptureHostMsg_GetDeviceFormatsInUse,
134 int /* device_id */, 140 int /* device_id */,
135 media::VideoCaptureSessionId /* session_id */) 141 media::VideoCaptureSessionId /* session_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698