OLD | NEW |
---|---|
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 // IPC messages for the media streaming. | 5 // IPC messages for the media streaming. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
145 std::string /*label*/) | 145 std::string /*label*/) |
146 | 146 |
147 // Subscribe to notifications about changes in the set of media devices. | 147 // Subscribe to notifications about changes in the set of media devices. |
148 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_SubscribeToDeviceChangeNotifications, | 148 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_SubscribeToDeviceChangeNotifications, |
149 int /* render frame id */, | 149 int /* render frame id */, |
150 url::Origin /* security origin */) | 150 url::Origin /* security origin */) |
151 | 151 |
152 // Cancel notifications about changes in the set of media devices. | 152 // Cancel notifications about changes in the set of media devices. |
153 IPC_MESSAGE_CONTROL1(MediaStreamHostMsg_CancelDeviceChangeNotifications, | 153 IPC_MESSAGE_CONTROL1(MediaStreamHostMsg_CancelDeviceChangeNotifications, |
154 int /* render frame id */) | 154 int /* render frame id */) |
155 | |
156 // Tell the browser process if the video capture is secure (i.e., all | |
157 // connected video sinks meet the requirement of output protection.). | |
158 IPC_MESSAGE_CONTROL3(MediaStreamHostMsg_SetCapturingLinkSecured, | |
159 int, /* session_id */ | |
160 content::MediaStreamType, /* type */ | |
161 bool /* is_secure */) | |
nasko
2016/05/09 21:33:29
This seems incorrect from threat modelling perspec
miu
2016/05/09 23:09:31
In the general case, you'd be absolutely correct.
xjz
2016/05/10 00:28:25
Yuri: Thanks for clarifying this!
| |
OLD | NEW |