| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // IPC messages for android media player. | 5 // IPC messages for android media player. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_DestroyMediaPlayer, | 135 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_DestroyMediaPlayer, |
| 136 int /* player_id */) | 136 int /* player_id */) |
| 137 | 137 |
| 138 // Destroy all the players. | 138 // Destroy all the players. |
| 139 IPC_MESSAGE_ROUTED0(MediaPlayerHostMsg_DestroyAllMediaPlayers) | 139 IPC_MESSAGE_ROUTED0(MediaPlayerHostMsg_DestroyAllMediaPlayers) |
| 140 | 140 |
| 141 // Initialize a media player object with the given player_id. | 141 // Initialize a media player object with the given player_id. |
| 142 IPC_MESSAGE_ROUTED4(MediaPlayerHostMsg_MediaPlayerInitialize, | 142 IPC_MESSAGE_ROUTED4(MediaPlayerHostMsg_MediaPlayerInitialize, |
| 143 int /* player_id */, | 143 int /* player_id */, |
| 144 GURL /* url */, | 144 GURL /* url */, |
| 145 bool /* is_media_source */, | 145 int /* flags */, |
| 146 GURL /* first_party_for_cookies */) | 146 GURL /* first_party_for_cookies */) |
| 147 | 147 |
| 148 // Pause the player. | 148 // Pause the player. |
| 149 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_MediaPlayerPause, | 149 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_MediaPlayerPause, |
| 150 int /* player_id */) | 150 int /* player_id */) |
| 151 | 151 |
| 152 // Release player resources, but keep the object for future usage. | 152 // Release player resources, but keep the object for future usage. |
| 153 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_MediaPlayerRelease, | 153 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_MediaPlayerRelease, |
| 154 int /* player_id */) | 154 int /* player_id */) |
| 155 | 155 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 183 // Inform the media source player that the demuxer is ready. | 183 // Inform the media source player that the demuxer is ready. |
| 184 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_DemuxerReady, | 184 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_DemuxerReady, |
| 185 int /* player_id */, | 185 int /* player_id */, |
| 186 media::MediaPlayerHostMsg_DemuxerReady_Params) | 186 media::MediaPlayerHostMsg_DemuxerReady_Params) |
| 187 | 187 |
| 188 // Sent when the data was read from the ChunkDemuxer. | 188 // Sent when the data was read from the ChunkDemuxer. |
| 189 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_ReadFromDemuxerAck, | 189 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_ReadFromDemuxerAck, |
| 190 int /* player_id */, | 190 int /* player_id */, |
| 191 media::MediaPlayerHostMsg_ReadFromDemuxerAck_Params) | 191 media::MediaPlayerHostMsg_ReadFromDemuxerAck_Params) |
| 192 #endif | 192 #endif |
| OLD | NEW |