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

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

Issue 185993004: Encrypted Media: Confine UUID code to MediaDrmBridge. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 16 matching lines...) Expand all
27 } // namespace android 27 } // namespace android
28 28
29 #endif // CHROME_COMMON_ENCRYPTED_MEDIA_MESSAGES_ANDROID_H 29 #endif // CHROME_COMMON_ENCRYPTED_MEDIA_MESSAGES_ANDROID_H
30 30
31 31
32 #define IPC_MESSAGE_START EncryptedMediaMsgStart 32 #define IPC_MESSAGE_START EncryptedMediaMsgStart
33 33
34 IPC_ENUM_TRAITS(android::SupportedCodecs) 34 IPC_ENUM_TRAITS(android::SupportedCodecs)
35 35
36 IPC_STRUCT_BEGIN(SupportedKeySystemRequest) 36 IPC_STRUCT_BEGIN(SupportedKeySystemRequest)
37 IPC_STRUCT_MEMBER(std::vector<uint8>, uuid) 37 IPC_STRUCT_MEMBER(std::string, key_system)
38 IPC_STRUCT_MEMBER(android::SupportedCodecs, codecs, 38 IPC_STRUCT_MEMBER(android::SupportedCodecs, codecs,
39 android::NO_SUPPORTED_CODECS) 39 android::NO_SUPPORTED_CODECS)
40 IPC_STRUCT_END() 40 IPC_STRUCT_END()
41 41
42 IPC_STRUCT_BEGIN(SupportedKeySystemResponse) 42 IPC_STRUCT_BEGIN(SupportedKeySystemResponse)
43 IPC_STRUCT_MEMBER(std::vector<uint8>, uuid) 43 IPC_STRUCT_MEMBER(std::string, key_system)
44 IPC_STRUCT_MEMBER(android::SupportedCodecs, compositing_codecs, 44 IPC_STRUCT_MEMBER(android::SupportedCodecs, compositing_codecs,
45 android::NO_SUPPORTED_CODECS) 45 android::NO_SUPPORTED_CODECS)
46 IPC_STRUCT_MEMBER(android::SupportedCodecs, non_compositing_codecs, 46 IPC_STRUCT_MEMBER(android::SupportedCodecs, non_compositing_codecs,
47 android::NO_SUPPORTED_CODECS) 47 android::NO_SUPPORTED_CODECS)
48 IPC_STRUCT_END() 48 IPC_STRUCT_END()
49 49
50 // Messages sent from the renderer to the browser. 50 // Messages sent from the renderer to the browser.
51 51
52 // Synchronously get a list of supported EME key systems. 52 // Synchronously get a list of supported EME key systems.
53 IPC_SYNC_MESSAGE_CONTROL1_1( 53 IPC_SYNC_MESSAGE_CONTROL1_1(
54 ChromeViewHostMsg_GetSupportedKeySystems, 54 ChromeViewHostMsg_GetSupportedKeySystems,
55 SupportedKeySystemRequest /* key system information request */, 55 SupportedKeySystemRequest /* key system information request */,
56 SupportedKeySystemResponse /* key system information response */) 56 SupportedKeySystemResponse /* key system information response */)
OLDNEW
« no previous file with comments | « chrome/browser/media/encrypted_media_message_filter_android.cc ('k') | chrome/renderer/media/chrome_key_systems.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698