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

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

Issue 16098014: Handle config changes for MSE on android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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/media_player_messages_android.h
diff --git a/content/common/media/media_player_messages_android.h b/content/common/media/media_player_messages_android.h
index 60cf74415f63e4abca6fc2bf40e96b3a690d7394..974e89cc72762d0fc77490ec11c816331a9e69f2 100644
--- a/content/common/media/media_player_messages_android.h
+++ b/content/common/media/media_player_messages_android.h
@@ -130,7 +130,7 @@ IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidMediaPlayerPause,
IPC_MESSAGE_ROUTED3(MediaPlayerMsg_MediaSeekRequest,
int /* player_id */,
base::TimeDelta /* time_to_seek */,
- bool /* request_texture_peer */)
+ uint32 /* seek_request_id */)
// The media source player reads data from demuxer
IPC_MESSAGE_ROUTED3(MediaPlayerMsg_ReadFromDemuxer,
@@ -138,6 +138,10 @@ IPC_MESSAGE_ROUTED3(MediaPlayerMsg_ReadFromDemuxer,
media::DemuxerStream::Type /* type */,
bool /* seek_done */)
+// The player needs new config data
+IPC_MESSAGE_ROUTED1(MediaPlayerMsg_MediaConfigRequest,
+ int /* player_id */)
+
// Messages for controllering the media playback in browser process ----------
// Destroy the media player object.
@@ -181,8 +185,9 @@ IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_ExitFullscreen,
int /* player_id */)
// Sent when the seek request is received by the WebMediaPlayerAndroid.
-IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_MediaSeekRequestAck,
- int /* player_id */)
+IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_MediaSeekRequestAck,
+ int /* player_id */,
+ uint32 /* seek_request_id */)
// Inform the media source player that the demuxer is ready.
IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_DemuxerReady,
« no previous file with comments | « content/browser/android/media_player_manager_impl.cc ('k') | content/renderer/media/webmediaplayer_proxy_impl_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698