| OLD | NEW |
| 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 #ifndef CHROME_RENDERER_MEDIA_CHROME_KEY_SYSTEMS_H_ | 5 #ifndef CHROME_RENDERER_MEDIA_CHROME_KEY_SYSTEMS_H_ |
| 6 #define CHROME_RENDERER_MEDIA_CHROME_KEY_SYSTEMS_H_ | 6 #define CHROME_RENDERER_MEDIA_CHROME_KEY_SYSTEMS_H_ |
| 7 | 7 |
| 8 #include <memory> | |
| 9 #include <vector> | 8 #include <vector> |
| 10 | 9 |
| 11 namespace media { | 10 #include "media/base/key_system_info.h" |
| 12 struct KeySystemInfo; | |
| 13 class KeySystemProperties; | |
| 14 } | |
| 15 | 11 |
| 16 // DEPRECATED: Register the key systems supported by populating | 12 void AddChromeKeySystems(std::vector<media::KeySystemInfo>* key_systems_info); |
| 17 // |key_systems_info|. TODO(halliwell): move all key systems to | |
| 18 // KeySystemProperties API. | |
| 19 void AddChromeKeySystemsInfo( | |
| 20 std::vector<media::KeySystemInfo>* key_systems_info); | |
| 21 | |
| 22 // Register the key systems supported by populating |key_systems_properties|. | |
| 23 void AddChromeKeySystems( | |
| 24 std::vector<std::unique_ptr<media::KeySystemProperties>>* | |
| 25 key_systems_properties); | |
| 26 | 13 |
| 27 #endif // CHROME_RENDERER_MEDIA_CHROME_KEY_SYSTEMS_H_ | 14 #endif // CHROME_RENDERER_MEDIA_CHROME_KEY_SYSTEMS_H_ |
| OLD | NEW |