Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(662)

Side by Side Diff: chrome/common/encrypted_media_messages_android.h

Issue 253593002: Componentize EncryptedMediaMessageFilter and rename it CdmMessageFilter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed the reviewers' comments. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 <vector>
9
10 #include "content/public/common/eme_codec.h"
11 #include "ipc/ipc_message_macros.h"
12
13 #define IPC_MESSAGE_START EncryptedMediaMsgStart
14
15 IPC_STRUCT_BEGIN(SupportedKeySystemRequest)
16 IPC_STRUCT_MEMBER(std::string, key_system)
17 IPC_STRUCT_MEMBER(content::SupportedCodecs, codecs, content::EME_CODEC_NONE)
18 IPC_STRUCT_END()
19
20 IPC_STRUCT_BEGIN(SupportedKeySystemResponse)
21 IPC_STRUCT_MEMBER(std::string, key_system)
22 IPC_STRUCT_MEMBER(content::SupportedCodecs,
23 compositing_codecs,
24 content::EME_CODEC_NONE)
25 IPC_STRUCT_MEMBER(content::SupportedCodecs,
26 non_compositing_codecs,
27 content::EME_CODEC_NONE)
28 IPC_STRUCT_END()
29
30 // Messages sent from the renderer to the browser.
31
32 // Synchronously get a list of supported EME key systems.
33 IPC_SYNC_MESSAGE_CONTROL1_1(
34 ChromeViewHostMsg_GetSupportedKeySystems,
35 SupportedKeySystemRequest /* key system information request */,
36 SupportedKeySystemResponse /* key system information response */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698