| 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 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 IPC_ENUM_TRAITS_MAX_VALUE(content::VideoFacingMode, | 23 IPC_ENUM_TRAITS_MAX_VALUE(content::VideoFacingMode, |
| 24 content::NUM_MEDIA_VIDEO_FACING_MODE - 1) | 24 content::NUM_MEDIA_VIDEO_FACING_MODE - 1) |
| 25 | 25 |
| 26 IPC_ENUM_TRAITS_MAX_VALUE(content::MediaStreamRequestResult, | 26 IPC_ENUM_TRAITS_MAX_VALUE(content::MediaStreamRequestResult, |
| 27 content::NUM_MEDIA_REQUEST_RESULTS - 1) | 27 content::NUM_MEDIA_REQUEST_RESULTS - 1) |
| 28 | 28 |
| 29 IPC_STRUCT_TRAITS_BEGIN(content::TrackControls) | 29 IPC_STRUCT_TRAITS_BEGIN(content::TrackControls) |
| 30 IPC_STRUCT_TRAITS_MEMBER(requested) | 30 IPC_STRUCT_TRAITS_MEMBER(requested) |
| 31 IPC_STRUCT_TRAITS_MEMBER(stream_source) | 31 IPC_STRUCT_TRAITS_MEMBER(stream_source) |
| 32 IPC_STRUCT_TRAITS_MEMBER(device_ids) | 32 IPC_STRUCT_TRAITS_MEMBER(device_id) |
| 33 IPC_STRUCT_TRAITS_MEMBER(alternate_device_ids) | |
| 34 IPC_STRUCT_TRAITS_END() | 33 IPC_STRUCT_TRAITS_END() |
| 35 | 34 |
| 36 IPC_STRUCT_TRAITS_BEGIN(content::StreamControls) | 35 IPC_STRUCT_TRAITS_BEGIN(content::StreamControls) |
| 37 IPC_STRUCT_TRAITS_MEMBER(audio) | 36 IPC_STRUCT_TRAITS_MEMBER(audio) |
| 38 IPC_STRUCT_TRAITS_MEMBER(video) | 37 IPC_STRUCT_TRAITS_MEMBER(video) |
| 39 IPC_STRUCT_TRAITS_MEMBER(hotword_enabled) | 38 IPC_STRUCT_TRAITS_MEMBER(hotword_enabled) |
| 40 IPC_STRUCT_TRAITS_MEMBER(disable_local_echo) | 39 IPC_STRUCT_TRAITS_MEMBER(disable_local_echo) |
| 41 IPC_STRUCT_TRAITS_END() | 40 IPC_STRUCT_TRAITS_END() |
| 42 | 41 |
| 43 IPC_STRUCT_TRAITS_BEGIN(content::StreamDeviceInfo) | 42 IPC_STRUCT_TRAITS_BEGIN(content::StreamDeviceInfo) |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 // connected video sinks meet the requirement of output protection.). | 132 // connected video sinks meet the requirement of output protection.). |
| 134 // Note: the browser process only trusts the |is_sucure| value in this IPC | 133 // Note: the browser process only trusts the |is_sucure| value in this IPC |
| 135 // message if it's comimg from a trusted, whitelisted extension. Extensions run | 134 // message if it's comimg from a trusted, whitelisted extension. Extensions run |
| 136 // in separate render processes. So it shouldn't be possible, for example, for | 135 // in separate render processes. So it shouldn't be possible, for example, for |
| 137 // a user's visit to a malicious web page to compromise a render process running | 136 // a user's visit to a malicious web page to compromise a render process running |
| 138 // a trusted extension to make it report falsehood in this IPC message. | 137 // a trusted extension to make it report falsehood in this IPC message. |
| 139 IPC_MESSAGE_CONTROL3(MediaStreamHostMsg_SetCapturingLinkSecured, | 138 IPC_MESSAGE_CONTROL3(MediaStreamHostMsg_SetCapturingLinkSecured, |
| 140 int, /* session_id */ | 139 int, /* session_id */ |
| 141 content::MediaStreamType, /* type */ | 140 content::MediaStreamType, /* type */ |
| 142 bool /* is_secure */) | 141 bool /* is_secure */) |
| OLD | NEW |