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

Unified Diff: media/base/android/media_player_android.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
« no previous file with comments | « media/base/android/media_player_android.h ('k') | media/base/android/media_player_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_player_android.cc
diff --git a/media/base/android/media_player_android.cc b/media/base/android/media_player_android.cc
index ec0fe6af49536a68844331439b92000a753c0998..4893089436f1d41f32b55cdb54e940239c42e14d 100644
--- a/media/base/android/media_player_android.cc
+++ b/media/base/android/media_player_android.cc
@@ -17,12 +17,14 @@ MediaPlayerAndroid::MediaPlayerAndroid(
int player_id,
MediaPlayerManager* manager,
const OnDecoderResourcesReleasedCB& on_decoder_resources_released_cb,
- const GURL& frame_url)
+ const GURL& frame_url,
+ int session_id)
: on_decoder_resources_released_cb_(on_decoder_resources_released_cb),
player_id_(player_id),
manager_(manager),
frame_url_(frame_url),
- weak_factory_(this) {
+ weak_factory_(this),
+ session_id_(session_id) {
listener_.reset(new MediaPlayerListener(base::ThreadTaskRunnerHandle::Get(),
weak_factory_.GetWeakPtr()));
}
« no previous file with comments | « media/base/android/media_player_android.h ('k') | media/base/android/media_player_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698