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

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

Issue 1308983005: NOT FOR LANDING Implement WebMediaSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add forward declaration Created 4 years, 11 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 b1b39f223a4a2a56412a78c9352f2f2f30d1ecb3..21b2431129cfc859d61a058f834d6f64a1216f64 100644
--- a/content/renderer/media/android/renderer_media_player_manager.cc
+++ b/content/renderer/media/android/renderer_media_player_manager.cc
@@ -84,7 +84,8 @@ void RendererMediaPlayerManager::Initialize(
const GURL& first_party_for_cookies,
int demuxer_client_id,
const GURL& frame_url,
- bool allow_credentials) {
+ bool allow_credentials,
+ int session_id) {
MediaPlayerHostMsg_Initialize_Params media_player_params;
media_player_params.type = type;
media_player_params.player_id = player_id;
@@ -93,6 +94,7 @@ void RendererMediaPlayerManager::Initialize(
media_player_params.first_party_for_cookies = first_party_for_cookies;
media_player_params.frame_url = frame_url;
media_player_params.allow_credentials = allow_credentials;
+ media_player_params.session_id = session_id;
Send(new MediaPlayerHostMsg_Initialize(routing_id(), media_player_params));
}

Powered by Google App Engine
This is Rietveld 408576698