OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/public/common/eme_codec.h" | 10 #include "content/public/common/eme_codec.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 IPC_STRUCT_MEMBER(content::SupportedCodecs, | 22 IPC_STRUCT_MEMBER(content::SupportedCodecs, |
23 compositing_codecs, | 23 compositing_codecs, |
24 content::EME_CODEC_NONE) | 24 content::EME_CODEC_NONE) |
25 IPC_STRUCT_MEMBER(content::SupportedCodecs, | 25 IPC_STRUCT_MEMBER(content::SupportedCodecs, |
26 non_compositing_codecs, | 26 non_compositing_codecs, |
27 content::EME_CODEC_NONE) | 27 content::EME_CODEC_NONE) |
28 IPC_STRUCT_END() | 28 IPC_STRUCT_END() |
29 | 29 |
30 // Messages sent from the renderer to the browser. | 30 // Messages sent from the renderer to the browser. |
31 | 31 |
32 // Synchronously get a list of supported EME key systems. | 32 // Synchronously query key system information. If the key system is supported, |
| 33 // the response will be populated. |
33 IPC_SYNC_MESSAGE_CONTROL1_1( | 34 IPC_SYNC_MESSAGE_CONTROL1_1( |
34 ChromeViewHostMsg_GetSupportedKeySystems, | 35 ChromeViewHostMsg_QueryKeySystemSupport, |
35 SupportedKeySystemRequest /* key system information request */, | 36 SupportedKeySystemRequest /* key system information request */, |
36 SupportedKeySystemResponse /* key system information response */) | 37 SupportedKeySystemResponse /* key system information response */) |
| 38 |
| 39 // Synchronously get a list of platform-supported EME key system names that |
| 40 // are not explicitly handled by Chrome. |
| 41 IPC_SYNC_MESSAGE_CONTROL0_1( |
| 42 ChromeViewHostMsg_GetPlatformKeySystemNames, |
| 43 std::vector<std::string> /* key system names */) |
OLD | NEW |