| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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 CONTENT_PUBLIC_COMMON_CONTENT_DECRYPTION_MODULE_REGISTRATION_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_CONTENT_DECRYPTION_MODULE_REGISTRATION_H_ |
| 7 |
| 8 #include <string> |
| 9 #include <vector> |
| 10 |
| 11 #include "base/files/file_path.h" |
| 12 #include "base/strings/string16.h" |
| 13 #include "content/common/content_export.h" |
| 14 |
| 15 namespace content { |
| 16 |
| 17 // Collects information about Content Decryption Modules. |
| 18 struct CONTENT_EXPORT ContentDecryptionModuleRegistration { |
| 19 // Name of the Key System. |
| 20 std::string key_system; |
| 21 |
| 22 // Version of the CDM. |
| 23 std::string version; |
| 24 |
| 25 // Path to the library implementing the CDM. May be empty() if the |
| 26 // CDM is already included as part of the system. |
| 27 base::FilePath module_library_path; |
| 28 |
| 29 // List of codecs supported by the CDM. |
| 30 std::vector<base::string16> supported_codecs; |
| 31 |
| 32 // List of init_data_types supported by the CDM. |
| 33 std::vector<base::string16> supported_init_data_types; |
| 34 |
| 35 ContentDecryptionModuleRegistration( |
| 36 const std::string& key_system, |
| 37 const std::string& version, |
| 38 const base::FilePath& module_library_path, |
| 39 const std::vector<base::string16>& supported_codecs, |
| 40 const std::vector<base::string16>& supported_init_data_types); |
| 41 ~ContentDecryptionModuleRegistration(); |
| 42 }; |
| 43 |
| 44 } // namespace content |
| 45 |
| 46 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DECRYPTION_MODULE_REGISTRATION_H_ |
| OLD | NEW |