| Index: chrome/common/media/encrypted_media_messages_android.h
|
| diff --git a/chrome/common/media/encrypted_media_messages_android.h b/chrome/common/media/encrypted_media_messages_android.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e9141a1f76ca1a5165db825de27ec8427a3ef784
|
| --- /dev/null
|
| +++ b/chrome/common/media/encrypted_media_messages_android.h
|
| @@ -0,0 +1,37 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// IPC messages for EME on android.
|
| +// Multiply-included message file, hence no include guard.
|
| +
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| +#include "ipc/ipc_message_macros.h"
|
| +
|
| +#define IPC_MESSAGE_START EncryptedMediaMsgStart
|
| +
|
| +IPC_STRUCT_BEGIN(SupportedKeySystem)
|
| + // Key system UUID.
|
| + IPC_STRUCT_MEMBER(std::vector<uint8>, uuid)
|
| +
|
| + // Name of the key system.
|
| + IPC_STRUCT_MEMBER(std::string, key_system)
|
| +
|
| + // Name of the parent key system.
|
| + IPC_STRUCT_MEMBER(std::string, parent_key_system)
|
| +
|
| + // A list of supported codecs.
|
| + IPC_STRUCT_MEMBER(std::vector<std::string>, codecs)
|
| +
|
| + // Whether video composition is enabled.
|
| + // TODO(qinmin): this may be replaced by a new key_system string.
|
| + IPC_STRUCT_MEMBER(bool, video_composition_enabled)
|
| +IPC_STRUCT_END()
|
| +
|
| +// Messages sent from the renderer to the browser.
|
| +
|
| +// Synchronously get a list of supported EME key systems.
|
| +IPC_SYNC_MESSAGE_ROUTED0_1(ChromeViewHostMsg_GetSupportedKeySystems,
|
| + std::vector<SupportedKeySystem>)
|
|
|