| 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 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 IPC_STRUCT_TRAITS_BEGIN(content::StreamDeviceInfo) | 39 IPC_STRUCT_TRAITS_BEGIN(content::StreamDeviceInfo) |
| 40 IPC_STRUCT_TRAITS_MEMBER(device.type) | 40 IPC_STRUCT_TRAITS_MEMBER(device.type) |
| 41 IPC_STRUCT_TRAITS_MEMBER(device.name) | 41 IPC_STRUCT_TRAITS_MEMBER(device.name) |
| 42 IPC_STRUCT_TRAITS_MEMBER(device.id) | 42 IPC_STRUCT_TRAITS_MEMBER(device.id) |
| 43 IPC_STRUCT_TRAITS_MEMBER(device.video_facing) | 43 IPC_STRUCT_TRAITS_MEMBER(device.video_facing) |
| 44 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) | 44 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) |
| 45 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) | 45 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) |
| 46 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) | 46 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) |
| 47 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) | 47 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) |
| 48 IPC_STRUCT_TRAITS_MEMBER(device.input.effects) |
| 48 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) | 49 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) |
| 49 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) | 50 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) |
| 50 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) | 51 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) |
| 51 IPC_STRUCT_TRAITS_MEMBER(session_id) | 52 IPC_STRUCT_TRAITS_MEMBER(session_id) |
| 52 IPC_STRUCT_TRAITS_END() | 53 IPC_STRUCT_TRAITS_END() |
| 53 | 54 |
| 54 // Message sent from the browser to the renderer | 55 // Message sent from the browser to the renderer |
| 55 | 56 |
| 56 // The browser has generated a stream successfully. | 57 // The browser has generated a stream successfully. |
| 57 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, | 58 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 int /* render view id */, | 140 int /* render view id */, |
| 140 int /* request id */, | 141 int /* request id */, |
| 141 std::string /* device_id */, | 142 std::string /* device_id */, |
| 142 content::MediaStreamType /* type */, | 143 content::MediaStreamType /* type */, |
| 143 GURL /* security origin */) | 144 GURL /* security origin */) |
| 144 | 145 |
| 145 // Request to close a device. | 146 // Request to close a device. |
| 146 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, | 147 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, |
| 147 int /* render view id */, | 148 int /* render view id */, |
| 148 std::string /*label*/) | 149 std::string /*label*/) |
| OLD | NEW |