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 COMPONENTS_ENCRYPTED_MEDIA_RENDERER_WIDEVINE_KEY_SYSTEMS_H_ |
| 6 #define COMPONENTS_ENCRYPTED_MEDIA_RENDERER_WIDEVINE_KEY_SYSTEMS_H_ |
| 7 |
| 8 #include <vector> |
| 9 |
| 10 #include "content/public/renderer/key_system_info.h" |
| 11 |
| 12 namespace encrypted_media { |
| 13 |
| 14 #if defined(ENABLE_PEPPER_CDMS) |
| 15 void AddPepperBasedWidevine( |
| 16 std::vector<content::KeySystemInfo>* concrete_key_systems, |
| 17 bool is_widevine_hr_supported, |
| 18 content::SupportedCodecs supported_codecs); |
| 19 #elif defined(OS_ANDROID) |
| 20 void AddAndroidWidevine( |
| 21 std::vector<content::KeySystemInfo>* concrete_key_systems); |
| 22 #endif // defined(ENABLE_PEPPER_CDMS) |
| 23 |
| 24 } // namespace encrypted_media |
| 25 |
| 26 #endif // COMPONENTS_ENCRYPTED_MEDIA_RENDERER_WIDEVINE_KEY_SYSTEMS_H_ |
OLD | NEW |