Chromium Code Reviews| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 47 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) | 47 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) |
| 48 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) | 48 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) |
| 49 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) | 49 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) |
| 50 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) | 50 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) |
| 51 IPC_STRUCT_TRAITS_MEMBER(device.input.effects) | 51 IPC_STRUCT_TRAITS_MEMBER(device.input.effects) |
| 52 IPC_STRUCT_TRAITS_MEMBER(device.input.mic_positions) | 52 IPC_STRUCT_TRAITS_MEMBER(device.input.mic_positions) |
| 53 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) | 53 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) |
| 54 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) | 54 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) |
| 55 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) | 55 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) |
| 56 IPC_STRUCT_TRAITS_MEMBER(session_id) | 56 IPC_STRUCT_TRAITS_MEMBER(session_id) |
| 57 IPC_STRUCT_TRAITS_MEMBER(device.camera_calibration.focal_length_x) | |
| 58 IPC_STRUCT_TRAITS_MEMBER(device.camera_calibration.focal_length_y) | |
| 59 IPC_STRUCT_TRAITS_MEMBER(device.camera_calibration.depth_near) | |
| 60 IPC_STRUCT_TRAITS_MEMBER(device.camera_calibration.depth_far) | |
| 61 IPC_STRUCT_TRAITS_MEMBER(device.camera_calibration.valid) | |
|
mcasas
2017/01/05 01:09:32
o_0 all this communication between browser
and re
aleksandar.stojiljkovic
2017/01/09 18:47:01
Apparently not. I couldn't find a task similar to
| |
| 57 IPC_STRUCT_TRAITS_END() | 62 IPC_STRUCT_TRAITS_END() |
| 58 | 63 |
| 59 // Message sent from the browser to the renderer | 64 // Message sent from the browser to the renderer |
| 60 | 65 |
| 61 // The browser has generated a stream successfully. | 66 // The browser has generated a stream successfully. |
| 62 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, | 67 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, |
| 63 int /* request id */, | 68 int /* request id */, |
| 64 std::string /* label */, | 69 std::string /* label */, |
| 65 content::StreamDeviceInfoArray /* audio_device_list */, | 70 content::StreamDeviceInfoArray /* audio_device_list */, |
| 66 content::StreamDeviceInfoArray /* video_device_list */) | 71 content::StreamDeviceInfoArray /* video_device_list */) |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 125 // connected video sinks meet the requirement of output protection.). | 130 // connected video sinks meet the requirement of output protection.). |
| 126 // Note: the browser process only trusts the |is_sucure| value in this IPC | 131 // Note: the browser process only trusts the |is_sucure| value in this IPC |
| 127 // message if it's comimg from a trusted, whitelisted extension. Extensions run | 132 // message if it's comimg from a trusted, whitelisted extension. Extensions run |
| 128 // in separate render processes. So it shouldn't be possible, for example, for | 133 // in separate render processes. So it shouldn't be possible, for example, for |
| 129 // a user's visit to a malicious web page to compromise a render process running | 134 // a user's visit to a malicious web page to compromise a render process running |
| 130 // a trusted extension to make it report falsehood in this IPC message. | 135 // a trusted extension to make it report falsehood in this IPC message. |
| 131 IPC_MESSAGE_CONTROL3(MediaStreamHostMsg_SetCapturingLinkSecured, | 136 IPC_MESSAGE_CONTROL3(MediaStreamHostMsg_SetCapturingLinkSecured, |
| 132 int, /* session_id */ | 137 int, /* session_id */ |
| 133 content::MediaStreamType, /* type */ | 138 content::MediaStreamType, /* type */ |
| 134 bool /* is_secure */) | 139 bool /* is_secure */) |
| OLD | NEW |