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

Unified Diff: content/renderer/media/android/webmediaplayer_android.h

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/webmediaplayer_android.h
diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h
index 5e96e8384204889a052bbd593e9bc4f5c9d2aaf1..22ad95bbe4f1c7055694666c4347bb76db0f7bf6 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -49,6 +49,7 @@ class WebContentDecryptionModuleResult;
class WebFrame;
class WebMediaPlayerClient;
class WebMediaPlayerEncryptedMediaClient;
+class WebMediaSession;
class WebURL;
}
@@ -423,6 +424,9 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
// Player ID assigned by the |player_manager_|.
int player_id_;
+ // Media Session ID.
+ int session_id_;
+
// Current player states.
blink::WebMediaPlayer::NetworkState network_state_;
blink::WebMediaPlayer::ReadyState ready_state_;

Powered by Google App Engine
This is Rietveld 408576698