| 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 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 IPC_STRUCT_TRAITS_BEGIN(content::StreamDeviceInfo) | 32 IPC_STRUCT_TRAITS_BEGIN(content::StreamDeviceInfo) |
| 33 IPC_STRUCT_TRAITS_MEMBER(device.type) | 33 IPC_STRUCT_TRAITS_MEMBER(device.type) |
| 34 IPC_STRUCT_TRAITS_MEMBER(device.name) | 34 IPC_STRUCT_TRAITS_MEMBER(device.name) |
| 35 IPC_STRUCT_TRAITS_MEMBER(device.id) | 35 IPC_STRUCT_TRAITS_MEMBER(device.id) |
| 36 IPC_STRUCT_TRAITS_MEMBER(device.video_facing) | 36 IPC_STRUCT_TRAITS_MEMBER(device.video_facing) |
| 37 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) | 37 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) |
| 38 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) | 38 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) |
| 39 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) | 39 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) |
| 40 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) | 40 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) |
| 41 IPC_STRUCT_TRAITS_MEMBER(device.input.effects) | |
| 42 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) | 41 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) |
| 43 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) | 42 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) |
| 44 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) | 43 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) |
| 45 IPC_STRUCT_TRAITS_MEMBER(session_id) | 44 IPC_STRUCT_TRAITS_MEMBER(session_id) |
| 46 IPC_STRUCT_TRAITS_END() | 45 IPC_STRUCT_TRAITS_END() |
| 47 | 46 |
| 48 // Message sent from the browser to the renderer | 47 // Message sent from the browser to the renderer |
| 49 | 48 |
| 50 // The browser has generated a stream successfully. | 49 // The browser has generated a stream successfully. |
| 51 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, | 50 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 int /* render view id */, | 132 int /* render view id */, |
| 134 int /* request id */, | 133 int /* request id */, |
| 135 std::string /* device_id */, | 134 std::string /* device_id */, |
| 136 content::MediaStreamType /* type */, | 135 content::MediaStreamType /* type */, |
| 137 GURL /* security origin */) | 136 GURL /* security origin */) |
| 138 | 137 |
| 139 // Request to close a device. | 138 // Request to close a device. |
| 140 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, | 139 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, |
| 141 int /* render view id */, | 140 int /* render view id */, |
| 142 std::string /*label*/) | 141 std::string /*label*/) |
| OLD | NEW |