Chromium Code Reviews| Index: content/common/media/media_stream_messages.h |
| diff --git a/content/common/media/media_stream_messages.h b/content/common/media/media_stream_messages.h |
| index 46acb9b55a8e2083148cdf61c1ea81b16756ae3a..9755ececda83d19d1750110a84ba03b8d2b7ff5a 100644 |
| --- a/content/common/media/media_stream_messages.h |
| +++ b/content/common/media/media_stream_messages.h |
| @@ -95,6 +95,9 @@ IPC_MESSAGE_ROUTED3(MediaStreamMsg_DeviceOpened, |
| IPC_MESSAGE_ROUTED1(MediaStreamMsg_DeviceOpenFailed, |
| int /* request id */) |
| +// The browser has detected a change in the set of media devices. |
| +IPC_MESSAGE_ROUTED0(MediaStreamMsg_DevicesChanged) |
| + |
| // Messages sent from the renderer to the browser. |
| // Request a new media stream. |
| @@ -140,3 +143,12 @@ IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice, |
| IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, |
| int /* render frame id */, |
| std::string /*label*/) |
| + |
| +// Subscribe to notifications about changes in the set of media devices. |
| +IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_SubscribeToDeviceChangeNotifications, |
| + int /* render frame id */, |
| + GURL /* security origin */) |
|
palmer
2016/04/26 23:25:02
Use url::Origin, not GURL, for this purpose.
Guido Urdaneta
2016/05/01 11:08:40
Done. Changed the rest of the file in a separate C
|
| + |
| +// Cancel notifications about changes in the set of media devices. |
| +IPC_MESSAGE_CONTROL1(MediaStreamHostMsg_CancelDeviceChangeNotifications, |
| + int /* render frame id */) |