| 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 12 matching lines...) Expand all Loading... |
| 23 IPC_STRUCT_TRAITS_MEMBER(audio_type) | 23 IPC_STRUCT_TRAITS_MEMBER(audio_type) |
| 24 IPC_STRUCT_TRAITS_MEMBER(audio_device_id) | 24 IPC_STRUCT_TRAITS_MEMBER(audio_device_id) |
| 25 IPC_STRUCT_TRAITS_MEMBER(video_type) | 25 IPC_STRUCT_TRAITS_MEMBER(video_type) |
| 26 IPC_STRUCT_TRAITS_MEMBER(video_device_id) | 26 IPC_STRUCT_TRAITS_MEMBER(video_device_id) |
| 27 IPC_STRUCT_TRAITS_END() | 27 IPC_STRUCT_TRAITS_END() |
| 28 | 28 |
| 29 IPC_STRUCT_TRAITS_BEGIN(content::StreamDeviceInfo) | 29 IPC_STRUCT_TRAITS_BEGIN(content::StreamDeviceInfo) |
| 30 IPC_STRUCT_TRAITS_MEMBER(device.type) | 30 IPC_STRUCT_TRAITS_MEMBER(device.type) |
| 31 IPC_STRUCT_TRAITS_MEMBER(device.name) | 31 IPC_STRUCT_TRAITS_MEMBER(device.name) |
| 32 IPC_STRUCT_TRAITS_MEMBER(device.id) | 32 IPC_STRUCT_TRAITS_MEMBER(device.id) |
| 33 IPC_STRUCT_TRAITS_MEMBER(device.sample_rate) | 33 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) |
| 34 IPC_STRUCT_TRAITS_MEMBER(device.channel_layout) | 34 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) |
| 35 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) |
| 36 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) |
| 37 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) |
| 38 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) |
| 39 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) |
| 35 IPC_STRUCT_TRAITS_MEMBER(in_use) | 40 IPC_STRUCT_TRAITS_MEMBER(in_use) |
| 36 IPC_STRUCT_TRAITS_MEMBER(session_id) | 41 IPC_STRUCT_TRAITS_MEMBER(session_id) |
| 37 IPC_STRUCT_TRAITS_END() | 42 IPC_STRUCT_TRAITS_END() |
| 38 | 43 |
| 39 // Message sent from the browser to the renderer | 44 // Message sent from the browser to the renderer |
| 40 | 45 |
| 41 // The browser has generated a stream successfully. | 46 // The browser has generated a stream successfully. |
| 42 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, | 47 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, |
| 43 int /* request id */, | 48 int /* request id */, |
| 44 std::string /* label */, | 49 std::string /* label */, |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 int /* render view id */, | 122 int /* render view id */, |
| 118 int /* request id */, | 123 int /* request id */, |
| 119 std::string /* device_id */, | 124 std::string /* device_id */, |
| 120 content::MediaStreamType /* type */, | 125 content::MediaStreamType /* type */, |
| 121 GURL /* security origin */) | 126 GURL /* security origin */) |
| 122 | 127 |
| 123 // Request to enumerate devices. | 128 // Request to enumerate devices. |
| 124 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_GetSources, | 129 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_GetSources, |
| 125 int /* request id */, | 130 int /* request id */, |
| 126 GURL /* origin */) | 131 GURL /* origin */) |
| OLD | NEW |