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

Unified Diff: content/renderer/media/android/renderer_media_player_manager.cc

Issue 1641993003: Pass media session id over IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@possible-next-split
Patch Set: Enumify constant Created 4 years, 10 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/renderer/media/android/renderer_media_player_manager.cc
diff --git a/content/renderer/media/android/renderer_media_player_manager.cc b/content/renderer/media/android/renderer_media_player_manager.cc
index 0a67da702adc16f3efe2ca979f87389bf0decce1..14b33cc817d4bb56b4fcf82eb69f9d6d361ad800 100644
--- a/content/renderer/media/android/renderer_media_player_manager.cc
+++ b/content/renderer/media/android/renderer_media_player_manager.cc
@@ -69,7 +69,8 @@ void RendererMediaPlayerManager::Initialize(
int demuxer_client_id,
const GURL& frame_url,
bool allow_credentials,
- int delegate_id) {
+ int delegate_id,
+ int media_session_id) {
MediaPlayerHostMsg_Initialize_Params media_player_params;
media_player_params.type = type;
media_player_params.player_id = player_id;
@@ -79,6 +80,7 @@ void RendererMediaPlayerManager::Initialize(
media_player_params.frame_url = frame_url;
media_player_params.allow_credentials = allow_credentials;
media_player_params.delegate_id = delegate_id;
+ media_player_params.media_session_id = media_session_id;
Send(new MediaPlayerHostMsg_Initialize(routing_id(), media_player_params));
}

Powered by Google App Engine
This is Rietveld 408576698