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

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: Created 7 years, 7 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 99c62e2aa564ac2345d63a4be2d66432ba633126..518608bc615924f150727c021108012d219b08df 100644
--- a/content/common/media/media_player_messages_android.h
+++ b/content/common/media/media_player_messages_android.h
@@ -125,7 +125,7 @@ IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidMediaPlayerPause,
IPC_MESSAGE_ROUTED3(MediaPlayerMsg_MediaSeekRequest,
int /* player_id */,
base::TimeDelta /* time_to_seek */,
- bool /* request_texture_peer */)
+ unsigned /* seek_request_id */)
// The media source player reads data from demuxer
IPC_MESSAGE_ROUTED3(MediaPlayerMsg_ReadFromDemuxer,
@@ -133,6 +133,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.
@@ -175,8 +179,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 */,
+ unsigned /* request_id */)
acolwell GONE FROM CHROMIUM 2013/06/04 15:19:14 nit: s/request/seek_request/
qinmin 2013/06/04 19:03:23 Done.
// Inform the media source player that the demuxer is ready.
IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_DemuxerReady,

Powered by Google App Engine
This is Rietveld 408576698