Chromium Code Reviews| 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 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 280 #endif | 280 #endif |
| 281 | 281 |
| 282 // Messages for encrypted media extensions API ------------------------------ | 282 // Messages for encrypted media extensions API ------------------------------ |
| 283 // TODO(xhwang): Move the following messages to a separate file. | 283 // TODO(xhwang): Move the following messages to a separate file. |
| 284 | 284 |
| 285 IPC_MESSAGE_ROUTED3(MediaKeysHostMsg_InitializeCDM, | 285 IPC_MESSAGE_ROUTED3(MediaKeysHostMsg_InitializeCDM, |
| 286 int /* media_keys_id */, | 286 int /* media_keys_id */, |
| 287 std::vector<uint8> /* uuid */, | 287 std::vector<uint8> /* uuid */, |
| 288 GURL /* frame url */) | 288 GURL /* frame url */) |
| 289 | 289 |
| 290 IPC_MESSAGE_ROUTED4(MediaKeysHostMsg_GenerateKeyRequest, | 290 IPC_MESSAGE_ROUTED4(MediaKeysHostMsg_CreateSession, |
| 291 int /* media_keys_id */, | 291 int /* media_keys_id */, |
| 292 uint32_t /* reference_id */, | 292 uint32_t /* reference_id */, |
| 293 std::string /* type */, | 293 std::string /* type */, |
| 294 std::vector<uint8> /* init_data */) | 294 std::vector<uint8> /* init_data */) |
| 295 | 295 |
| 296 IPC_MESSAGE_ROUTED4(MediaKeysHostMsg_AddKey, | 296 IPC_MESSAGE_ROUTED4(MediaKeysHostMsg_UpdateSession, |
| 297 int /* media_keys_id */, | 297 int /* media_keys_id */, |
| 298 uint32_t /* reference_id */, | 298 uint32_t /* reference_id */, |
| 299 std::vector<uint8> /* key */, | 299 std::vector<uint8> /* key */, |
|
ddorwin
2013/12/03 18:11:30
ditto x2
jrummell
2013/12/03 19:33:16
Done.
| |
| 300 std::vector<uint8> /* init_data */) | 300 std::vector<uint8> /* init_data */) |
| 301 | 301 |
| 302 IPC_MESSAGE_ROUTED2(MediaKeysHostMsg_CancelKeyRequest, | 302 IPC_MESSAGE_ROUTED2(MediaKeysHostMsg_ReleaseSession, |
| 303 int /* media_keys_id */, | 303 int /* media_keys_id */, |
| 304 uint32_t /* reference_id */) | 304 uint32_t /* reference_id */) |
| 305 | 305 |
| 306 IPC_MESSAGE_ROUTED2(MediaKeysMsg_KeyAdded, | 306 IPC_MESSAGE_ROUTED3(MediaKeysMsg_SessionCreated, |
| 307 int /* media_keys_id */, | |
| 308 uint32_t /* reference_id */) | |
| 309 | |
| 310 IPC_MESSAGE_ROUTED4(MediaKeysMsg_KeyError, | |
| 311 int /* media_keys_id */, | 307 int /* media_keys_id */, |
| 312 uint32_t /* reference_id */, | 308 uint32_t /* reference_id */, |
| 313 media::MediaKeys::KeyError /* error_code */, | 309 std::string /* session_id */) |
|
ddorwin
2013/12/03 18:11:30
web_session_id?
jrummell
2013/12/03 19:33:16
Done.
| |
| 314 int /* system_code */) | |
| 315 | 310 |
| 316 IPC_MESSAGE_ROUTED4(MediaKeysMsg_KeyMessage, | 311 IPC_MESSAGE_ROUTED4(MediaKeysMsg_SessionMessage, |
| 317 int /* media_keys_id */, | 312 int /* media_keys_id */, |
| 318 uint32_t /* reference_id */, | 313 uint32_t /* reference_id */, |
| 319 std::vector<uint8> /* message */, | 314 std::vector<uint8> /* message */, |
| 320 std::string /* destination_url */) | 315 std::string /* destination_url */) |
| 321 | 316 |
| 322 IPC_MESSAGE_ROUTED3(MediaKeysMsg_SetSessionId, | 317 IPC_MESSAGE_ROUTED2(MediaKeysMsg_SessionReady, |
| 318 int /* media_keys_id */, | |
| 319 uint32_t /* reference_id */) | |
| 320 | |
| 321 IPC_MESSAGE_ROUTED2(MediaKeysMsg_SessionClosed, | |
| 322 int /* media_keys_id */, | |
| 323 uint32_t /* reference_id */) | |
| 324 | |
| 325 IPC_MESSAGE_ROUTED4(MediaKeysMsg_SessionError, | |
| 323 int /* media_keys_id */, | 326 int /* media_keys_id */, |
| 324 uint32_t /* reference_id */, | 327 uint32_t /* reference_id */, |
| 325 std::string /* session_id */) | 328 media::MediaKeys::KeyError /* error_code */, |
| 329 int /* system_code */) | |
| OLD | NEW |