Chromium Code Reviews| 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 <memory> | |
| 8 #include <vector> | 9 #include <vector> |
| 9 | 10 |
| 10 #include "media/base/key_system_info.h" | 11 #include "media/base/key_system_info.h" |
| 12 #include "media/base/key_system_properties.h" | |
| 11 | 13 |
| 12 namespace chromecast { | 14 namespace chromecast { |
| 13 namespace shell { | 15 namespace shell { |
| 14 | 16 |
| 15 // Adds a single key system by name. | 17 // Adds a single key system by name. |
| 16 // TODO(gunsch): modify this API to accept specifying different supported | 18 // TODO(gunsch): modify this API to accept specifying different supported |
| 17 // features, and/or APIs per key system type. | 19 // features, and/or APIs per key system type. |
| 18 void AddKeySystemWithCodecs( | 20 void AddKeySystemWithCodecs( |
| 19 const std::string& key_system_name, | 21 const std::string& key_system_name, |
| 20 std::vector<::media::KeySystemInfo>* concrete_key_systems); | 22 std::vector<::media::KeySystemInfo>* concrete_key_systems); |
|
xhwang
2016/04/27 19:28:39
nit: It seems this can be a static function in the
halliwell
2016/04/27 22:20:13
Good catch. It was here originally for us to regi
| |
| 21 | 23 |
| 22 void AddChromecastKeySystems( | 24 void AddChromecastKeySystems( |
| 25 std::vector<std::unique_ptr<::media::KeySystemProperties>>* | |
| 26 key_systems_properties); | |
| 27 | |
| 28 void AddChromecastKeySystemsInfo( | |
| 23 std::vector<::media::KeySystemInfo>* key_systems_info); | 29 std::vector<::media::KeySystemInfo>* key_systems_info); |
| 24 | 30 |
| 25 } // namespace shell | 31 } // namespace shell |
| 26 } // namespace chromecast | 32 } // namespace chromecast |
| 27 | 33 |
| 28 #endif // CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_ | 34 #endif // CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_ |
| OLD | NEW |