OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 EME on android. | 5 // IPC messages for EME on android. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 } // namespace android | 27 } // namespace android |
28 | 28 |
29 #endif // CHROME_COMMON_ENCRYPTED_MEDIA_MESSAGES_ANDROID_H | 29 #endif // CHROME_COMMON_ENCRYPTED_MEDIA_MESSAGES_ANDROID_H |
30 | 30 |
31 | 31 |
32 #define IPC_MESSAGE_START EncryptedMediaMsgStart | 32 #define IPC_MESSAGE_START EncryptedMediaMsgStart |
33 | 33 |
34 IPC_ENUM_TRAITS(android::SupportedCodecs) | 34 IPC_ENUM_TRAITS(android::SupportedCodecs) |
35 | 35 |
36 IPC_STRUCT_BEGIN(SupportedKeySystemRequest) | 36 IPC_STRUCT_BEGIN(SupportedKeySystemRequest) |
37 IPC_STRUCT_MEMBER(std::vector<uint8>, uuid) | 37 IPC_STRUCT_MEMBER(std::string, key_system) |
38 IPC_STRUCT_MEMBER(android::SupportedCodecs, codecs, | 38 IPC_STRUCT_MEMBER(android::SupportedCodecs, codecs, |
39 android::NO_SUPPORTED_CODECS) | 39 android::NO_SUPPORTED_CODECS) |
40 IPC_STRUCT_END() | 40 IPC_STRUCT_END() |
41 | 41 |
42 IPC_STRUCT_BEGIN(SupportedKeySystemResponse) | 42 IPC_STRUCT_BEGIN(SupportedKeySystemResponse) |
43 IPC_STRUCT_MEMBER(std::vector<uint8>, uuid) | 43 IPC_STRUCT_MEMBER(std::string, key_system) |
44 IPC_STRUCT_MEMBER(android::SupportedCodecs, compositing_codecs, | 44 IPC_STRUCT_MEMBER(android::SupportedCodecs, compositing_codecs, |
45 android::NO_SUPPORTED_CODECS) | 45 android::NO_SUPPORTED_CODECS) |
46 IPC_STRUCT_MEMBER(android::SupportedCodecs, non_compositing_codecs, | 46 IPC_STRUCT_MEMBER(android::SupportedCodecs, non_compositing_codecs, |
47 android::NO_SUPPORTED_CODECS) | 47 android::NO_SUPPORTED_CODECS) |
48 IPC_STRUCT_END() | 48 IPC_STRUCT_END() |
49 | 49 |
50 // Messages sent from the renderer to the browser. | 50 // Messages sent from the renderer to the browser. |
51 | 51 |
52 // Synchronously get a list of supported EME key systems. | 52 // Synchronously get a list of supported EME key systems. |
53 IPC_SYNC_MESSAGE_CONTROL1_1( | 53 IPC_SYNC_MESSAGE_CONTROL1_1( |
54 ChromeViewHostMsg_GetSupportedKeySystems, | 54 ChromeViewHostMsg_GetSupportedKeySystems, |
55 SupportedKeySystemRequest /* key system information request */, | 55 SupportedKeySystemRequest /* key system information request */, |
56 SupportedKeySystemResponse /* key system information response */) | 56 SupportedKeySystemResponse /* key system information response */) |
OLD | NEW |