OLD | NEW |
(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_ |
| 6 #define CHROMECAST_MEDIA_BASE_KEY_SYSTEMS_COMMON_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace chromecast { |
| 11 |
| 12 extern const char* kPlayreadyKeySystems[]; |
| 13 extern const char kUnsupportedClearKeySystem[]; |
| 14 |
| 15 enum CastKeySystem { |
| 16 KEY_SYSTEM_NONE = 0, |
| 17 KEY_SYSTEM_CLEAR_KEY, |
| 18 KEY_SYSTEM_PLAYREADY, |
| 19 KEY_SYSTEM_WIDEVINE |
| 20 }; |
| 21 |
| 22 CastKeySystem GetKeySystemByName(const std::string& key_system_name); |
| 23 |
| 24 } // namespace chromecast |
| 25 |
| 26 #endif // CHROMECAST_MEDIA_BASE_KEY_SYSTEMS_COMMON_H_ |
OLD | NEW |