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 26 matching lines...) Expand all Loading... |
37 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, | 37 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, |
38 int /* request id */, | 38 int /* request id */, |
39 std::string /* label */, | 39 std::string /* label */, |
40 media_stream::StreamDeviceInfoArray /* audio_device_list */, | 40 media_stream::StreamDeviceInfoArray /* audio_device_list */, |
41 media_stream::StreamDeviceInfoArray /* video_device_list */) | 41 media_stream::StreamDeviceInfoArray /* video_device_list */) |
42 | 42 |
43 // The browser has failed to generate a stream. | 43 // The browser has failed to generate a stream. |
44 IPC_MESSAGE_ROUTED1(MediaStreamMsg_StreamGenerationFailed, | 44 IPC_MESSAGE_ROUTED1(MediaStreamMsg_StreamGenerationFailed, |
45 int /* request id */) | 45 int /* request id */) |
46 | 46 |
47 // Report of a failure of a video device. | |
48 IPC_MESSAGE_ROUTED2(MediaStreamHostMsg_VideoDeviceFailed, | |
49 std::string /* label */, | |
50 int /* index */) | |
51 | |
52 // Report of a failure of an audio device. | |
53 IPC_MESSAGE_ROUTED2(MediaStreamHostMsg_AudioDeviceFailed, | |
54 std::string /* label */, | |
55 int /* index */) | |
56 | |
57 // The browser has enumerated devices successfully. | 47 // The browser has enumerated devices successfully. |
58 IPC_MESSAGE_ROUTED3(MediaStreamMsg_DevicesEnumerated, | 48 IPC_MESSAGE_ROUTED3(MediaStreamMsg_DevicesEnumerated, |
59 int /* request id */, | 49 int /* request id */, |
60 std::string /* label */, | 50 std::string /* label */, |
61 media_stream::StreamDeviceInfoArray /* device_list */) | 51 media_stream::StreamDeviceInfoArray /* device_list */) |
62 | 52 |
63 // The browser has failed to enumerate devices. | 53 // The browser has failed to enumerate devices. |
64 IPC_MESSAGE_ROUTED1(MediaStreamMsg_DevicesEnumerationFailed, | 54 IPC_MESSAGE_ROUTED1(MediaStreamMsg_DevicesEnumerationFailed, |
65 int /* request id */) | 55 int /* request id */) |
66 | 56 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 media_stream::MediaStreamType /* type */, | 100 media_stream::MediaStreamType /* type */, |
111 GURL /* security origin */) | 101 GURL /* security origin */) |
112 | 102 |
113 // Request to open the device. | 103 // Request to open the device. |
114 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice, | 104 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice, |
115 int /* render view id */, | 105 int /* render view id */, |
116 int /* request id */, | 106 int /* request id */, |
117 std::string /* device_id */, | 107 std::string /* device_id */, |
118 media_stream::MediaStreamType /* type */, | 108 media_stream::MediaStreamType /* type */, |
119 GURL /* security origin */) | 109 GURL /* security origin */) |
OLD | NEW |