Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2616)

Unified Diff: content/common/media/peer_connection_tracker_messages.h

Issue 2123863004: ScreenCapture for Android phase1, part II (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: UI tweaking and rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 */,

Powered by Google App Engine
This is Rietveld 408576698