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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 | 295 |
296 IPC_MESSAGE_ROUTED3(MediaKeysHostMsg_UpdateSession, | 296 IPC_MESSAGE_ROUTED3(MediaKeysHostMsg_UpdateSession, |
297 int /* media_keys_id */, | 297 int /* media_keys_id */, |
298 uint32_t /* session_id */, | 298 uint32_t /* session_id */, |
299 std::vector<uint8> /* response */) | 299 std::vector<uint8> /* response */) |
300 | 300 |
301 IPC_MESSAGE_ROUTED2(MediaKeysHostMsg_ReleaseSession, | 301 IPC_MESSAGE_ROUTED2(MediaKeysHostMsg_ReleaseSession, |
302 int /* media_keys_id */, | 302 int /* media_keys_id */, |
303 uint32_t /* session_id */) | 303 uint32_t /* session_id */) |
304 | 304 |
| 305 IPC_MESSAGE_ROUTED1(MediaKeysHostMsg_CancelAllPendingSessionCreations, |
| 306 int /* media_keys_id */) |
| 307 |
305 IPC_MESSAGE_ROUTED3(MediaKeysMsg_SessionCreated, | 308 IPC_MESSAGE_ROUTED3(MediaKeysMsg_SessionCreated, |
306 int /* media_keys_id */, | 309 int /* media_keys_id */, |
307 uint32_t /* session_id */, | 310 uint32_t /* session_id */, |
308 std::string /* web_session_id */) | 311 std::string /* web_session_id */) |
309 | 312 |
310 IPC_MESSAGE_ROUTED4(MediaKeysMsg_SessionMessage, | 313 IPC_MESSAGE_ROUTED4(MediaKeysMsg_SessionMessage, |
311 int /* media_keys_id */, | 314 int /* media_keys_id */, |
312 uint32_t /* session_id */, | 315 uint32_t /* session_id */, |
313 std::vector<uint8> /* message */, | 316 std::vector<uint8> /* message */, |
314 std::string /* destination_url */) | 317 std::string /* destination_url */) |
315 // TODO(jrummell): Use GURL for destination_url (http://crbug.com/326663) | 318 // TODO(jrummell): Use GURL for destination_url (http://crbug.com/326663) |
316 | 319 |
317 IPC_MESSAGE_ROUTED2(MediaKeysMsg_SessionReady, | 320 IPC_MESSAGE_ROUTED2(MediaKeysMsg_SessionReady, |
318 int /* media_keys_id */, | 321 int /* media_keys_id */, |
319 uint32_t /* session_id */) | 322 uint32_t /* session_id */) |
320 | 323 |
321 IPC_MESSAGE_ROUTED2(MediaKeysMsg_SessionClosed, | 324 IPC_MESSAGE_ROUTED2(MediaKeysMsg_SessionClosed, |
322 int /* media_keys_id */, | 325 int /* media_keys_id */, |
323 uint32_t /* session_id */) | 326 uint32_t /* session_id */) |
324 | 327 |
325 IPC_MESSAGE_ROUTED4(MediaKeysMsg_SessionError, | 328 IPC_MESSAGE_ROUTED4(MediaKeysMsg_SessionError, |
326 int /* media_keys_id */, | 329 int /* media_keys_id */, |
327 uint32_t /* session_id */, | 330 uint32_t /* session_id */, |
328 media::MediaKeys::KeyError /* error_code */, | 331 media::MediaKeys::KeyError /* error_code */, |
329 int /* system_code */) | 332 int /* system_code */) |
OLD | NEW |