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

Side by Side Diff: components/cdm/common/cdm_messages_android.h

Issue 557723003: Implement Chromium side of MediaKeys.isTypeSupported(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work around performance warning. Created 6 years, 2 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
« no previous file with comments | « chrome/renderer/media/chrome_key_systems.cc ('k') | components/cdm/renderer/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_constants.h"
11 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
12 12
13 #define IPC_MESSAGE_START EncryptedMediaMsgStart 13 #define IPC_MESSAGE_START EncryptedMediaMsgStart
14 14
15 IPC_STRUCT_BEGIN(SupportedKeySystemRequest) 15 IPC_STRUCT_BEGIN(SupportedKeySystemRequest)
16 IPC_STRUCT_MEMBER(std::string, key_system) 16 IPC_STRUCT_MEMBER(std::string, key_system)
17 IPC_STRUCT_MEMBER(content::SupportedCodecs, codecs, content::EME_CODEC_NONE) 17 IPC_STRUCT_MEMBER(content::SupportedCodecs, codecs, content::EME_CODEC_NONE)
18 IPC_STRUCT_END() 18 IPC_STRUCT_END()
19 19
20 IPC_STRUCT_BEGIN(SupportedKeySystemResponse) 20 IPC_STRUCT_BEGIN(SupportedKeySystemResponse)
(...skipping 13 matching lines...) Expand all
34 IPC_SYNC_MESSAGE_CONTROL1_1( 34 IPC_SYNC_MESSAGE_CONTROL1_1(
35 ChromeViewHostMsg_QueryKeySystemSupport, 35 ChromeViewHostMsg_QueryKeySystemSupport,
36 SupportedKeySystemRequest /* key system information request */, 36 SupportedKeySystemRequest /* key system information request */,
37 SupportedKeySystemResponse /* key system information response */) 37 SupportedKeySystemResponse /* key system information response */)
38 38
39 // Synchronously get a list of platform-supported EME key system names that 39 // Synchronously get a list of platform-supported EME key system names that
40 // are not explicitly handled by Chrome. 40 // are not explicitly handled by Chrome.
41 IPC_SYNC_MESSAGE_CONTROL0_1( 41 IPC_SYNC_MESSAGE_CONTROL0_1(
42 ChromeViewHostMsg_GetPlatformKeySystemNames, 42 ChromeViewHostMsg_GetPlatformKeySystemNames,
43 std::vector<std::string> /* key system names */) 43 std::vector<std::string> /* key system names */)
OLDNEW
« no previous file with comments | « chrome/renderer/media/chrome_key_systems.cc ('k') | components/cdm/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698