OLD | NEW |
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 #ifndef CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_ | 5 #ifndef CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_ |
6 #define CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_ | 6 #define CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "media/base/key_system_info.h" | 10 #include "media/base/key_system_info.h" |
11 | 11 |
12 namespace chromecast { | 12 namespace chromecast { |
13 namespace shell { | 13 namespace shell { |
14 | 14 |
| 15 // Adds a single key system by name. |
| 16 // TODO(gunsch): modify this API to accept specifying different supported |
| 17 // features, and/or APIs per key system type. |
| 18 void AddKeySystemWithCodecs( |
| 19 const std::string& key_system_name, |
| 20 std::vector<::media::KeySystemInfo>* concrete_key_systems); |
| 21 |
15 void AddChromecastKeySystems( | 22 void AddChromecastKeySystems( |
16 std::vector<::media::KeySystemInfo>* key_systems_info); | 23 std::vector<::media::KeySystemInfo>* key_systems_info); |
17 | 24 |
18 // TODO(gunsch): Remove when prefixed EME is removed. | 25 // TODO(gunsch): Remove when prefixed EME is removed. |
19 void AddChromecastPlatformKeySystems( | 26 void AddChromecastPlatformKeySystems( |
20 std::vector<::media::KeySystemInfo>* key_systems_info); | 27 std::vector<::media::KeySystemInfo>* key_systems_info); |
21 | 28 |
22 } // namespace shell | 29 } // namespace shell |
23 } // namespace chromecast | 30 } // namespace chromecast |
24 | 31 |
25 #endif // CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_ | 32 #endif // CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_ |
OLD | NEW |