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

Side by Side Diff: chromecast/media/base/key_systems_common.h

Issue 568243002: Adds initial key systems support for Chromecast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 2014 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 #ifndef CHROMECAST_MEDIA_BASE_KEY_SYSTEMS_COMMON_H_
ddorwin 2014/09/13 03:27:06 common? Is this also used in the browser process o
gunsch 2014/09/15 21:43:38 Yes. We communicate CDM information over IPC, then
6 #define CHROMECAST_MEDIA_BASE_KEY_SYSTEMS_COMMON_H_
7
8 #include <string>
9
10 namespace media {
lcwu1 2014/09/15 18:09:50 s/media/chromecast
gunsch 2014/09/15 21:43:38 Done.
11
12 extern const char* kPlayreadyKeySystems[];
13 extern const char kClearKeySystem[];
14 extern const char kUnsupportedClearKeySystem[];
15
16 enum CastKeySystem {
17 KEY_SYSTEM_NONE = 0,
18 KEY_SYSTEM_CLEAR_KEY,
19 KEY_SYSTEM_PLAYREADY,
ddorwin 2014/09/13 03:27:06 To avoid confusion, be explicit about CHROMECAST_P
gunsch 2014/09/15 21:43:38 Would prefer to not. This enum is only for use wit
20 KEY_SYSTEM_WIDEVINE
21 };
22
23 CastKeySystem GetKeySystemByName(const std::string& key_system_name);
ddorwin 2014/09/13 03:27:06 What is the enum used for? I don't see it in this
gunsch 2014/09/15 21:43:38 No, not yet in this patch. This enum is used for o
ddorwin 2014/09/15 22:50:53 FYI, such an enum could be generally useful, espec
gunsch 2014/09/16 16:57:59 Acknowledged.
24
25 } // namespace media
26
27 #endif // CHROMECAST_MEDIA_BASE_KEY_SYSTEMS_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698