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 "ipc/ipc_message_macros.h" |
| 12 |
| 13 #define IPC_MESSAGE_START EncryptedMediaMsgStart |
| 14 |
| 15 IPC_STRUCT_BEGIN(SupportedKeySystem) |
| 16 // Key system UUID. |
| 17 IPC_STRUCT_MEMBER(std::vector<uint8>, uuid) |
| 18 |
| 19 // Name of the key system. |
| 20 IPC_STRUCT_MEMBER(std::string, key_system) |
| 21 |
| 22 // Name of the parent key system. |
| 23 IPC_STRUCT_MEMBER(std::string, parent_key_system) |
| 24 |
| 25 // A list of supported codecs. |
| 26 IPC_STRUCT_MEMBER(std::vector<std::string>, codecs) |
| 27 |
| 28 // Whether video composition is enabled. |
| 29 // TODO(qinmin): this may be replaced by a new key_system string. |
| 30 IPC_STRUCT_MEMBER(bool, video_composition_enabled) |
| 31 IPC_STRUCT_END() |
| 32 |
| 33 // Messages sent from the renderer to the browser. |
| 34 |
| 35 // Synchronously get a list of supported EME key systems. |
| 36 IPC_SYNC_MESSAGE_ROUTED0_1(ChromeViewHostMsg_GetSupportedKeySystems, |
| 37 std::vector<SupportedKeySystem>) |
OLD | NEW |