Index: content/common/media/peer_connection_tracker_messages.h |
diff --git a/content/common/media/peer_connection_tracker_messages.h b/content/common/media/peer_connection_tracker_messages.h |
index 130f3b6ac4a6cf0820e3e06dfbabc31509611956..e8fdc832a99b954398abb4e0dfc1aac24f6d811d 100644 |
--- a/content/common/media/peer_connection_tracker_messages.h |
+++ b/content/common/media/peer_connection_tracker_messages.h |
@@ -18,6 +18,11 @@ IPC_STRUCT_BEGIN(PeerConnectionInfo) |
IPC_STRUCT_MEMBER(std::string, url) |
IPC_STRUCT_END() |
+IPC_STRUCT_BEGIN(VideoInfo) |
+ IPC_STRUCT_MEMBER(bool, video) |
+ IPC_STRUCT_MEMBER(std::string, video_stream_source) |
+IPC_STRUCT_END() |
+ |
// Messages sent from PeerConnectionTracker to PeerConnectionTrackerHost. |
IPC_MESSAGE_CONTROL1(PeerConnectionTrackerHost_AddPeerConnection, |
PeerConnectionInfo /* info */) |
@@ -33,7 +38,7 @@ IPC_MESSAGE_CONTROL2(PeerConnectionTrackerHost_AddStats, |
IPC_MESSAGE_CONTROL5(PeerConnectionTrackerHost_GetUserMedia, |
std::string /*origin*/, |
bool /*audio*/, |
- bool /*video*/, |
+ VideoInfo /*video_info*/, |
// The constraints strings are for dispaly only and should |
// not be parsed by the browser for security reasons. |
std::string /* audio_constraints */, |