OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 // IPC messages for EME on android. | |
6 // Multiply-included message file, hence no include guard. | |
7 | |
8 #include <string> | |
9 #include <vector> | |
10 | |
11 #include "chrome/common/widevine_cdm_constants.h" | |
ddorwin
2013/09/17 22:29:08
As I mentioned earlier, we should avoid having spe
qinmin
2013/09/18 00:45:44
Done.
| |
12 #include "ipc/ipc_message_macros.h" | |
13 | |
14 #define IPC_MESSAGE_START EncryptedMediaMsgStart | |
15 | |
16 IPC_ENUM_TRAITS(SupportedCodecs) | |
17 | |
18 IPC_STRUCT_BEGIN(SupportedKeySystemRequest) | |
19 // Key system UUID. | |
20 IPC_STRUCT_MEMBER(std::vector<uint8>, uuid) | |
21 | |
22 // Bitmask of supported codecs. | |
23 IPC_STRUCT_MEMBER(SupportedCodecs, supported_codecs) | |
24 IPC_STRUCT_END() | |
25 | |
26 IPC_STRUCT_BEGIN(SupportedKeySystemResponse) | |
ddorwin
2013/09/17 22:29:08
Do the members of this struct get initialized anyw
qinmin
2013/09/18 00:45:44
separated the struct definition from IPC
On 2013/
| |
27 // Key system UUID. | |
28 IPC_STRUCT_MEMBER(std::vector<uint8>, uuid) | |
29 | |
30 // Bitmask of supported compositing codecs. | |
31 IPC_STRUCT_MEMBER(SupportedCodecs, compositing_codecs) | |
32 | |
33 // Bitmask of supported non-compositing codecs. | |
34 IPC_STRUCT_MEMBER(SupportedCodecs, non_compositing_codecs) | |
35 IPC_STRUCT_END() | |
36 | |
37 // Messages sent from the renderer to the browser. | |
38 | |
39 // Synchronously get a list of supported EME key systems. | |
40 IPC_SYNC_MESSAGE_CONTROL1_1( | |
41 ChromeViewHostMsg_GetSupportedKeySystems, | |
42 SupportedKeySystemRequest /* key system information request*/, | |
ddorwin
2013/09/17 22:29:08
extra space before and missing after
qinmin
2013/09/18 00:45:44
Done.
| |
43 SupportedKeySystemResponse /* key system information response */) | |
OLD | NEW |