OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 MEDIA_BASE_CDM_KEY_INFORMATION_H_ | 5 #ifndef MEDIA_BASE_CDM_KEY_INFORMATION_H_ |
6 #define MEDIA_BASE_CDM_KEY_INFORMATION_H_ | 6 #define MEDIA_BASE_CDM_KEY_INFORMATION_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 CdmKeyInformation(const std::vector<uint8_t>& key_id, | 33 CdmKeyInformation(const std::vector<uint8_t>& key_id, |
34 KeyStatus status, | 34 KeyStatus status, |
35 uint32_t system_code); | 35 uint32_t system_code); |
36 CdmKeyInformation(const std::string& key_id, | 36 CdmKeyInformation(const std::string& key_id, |
37 KeyStatus status, | 37 KeyStatus status, |
38 uint32_t system_code); | 38 uint32_t system_code); |
39 CdmKeyInformation(const uint8_t* key_id_data, | 39 CdmKeyInformation(const uint8_t* key_id_data, |
40 size_t key_id_length, | 40 size_t key_id_length, |
41 KeyStatus status, | 41 KeyStatus status, |
42 uint32_t system_code); | 42 uint32_t system_code); |
| 43 CdmKeyInformation(const CdmKeyInformation& other); |
43 ~CdmKeyInformation(); | 44 ~CdmKeyInformation(); |
44 | 45 |
45 std::vector<uint8_t> key_id; | 46 std::vector<uint8_t> key_id; |
46 KeyStatus status; | 47 KeyStatus status; |
47 uint32_t system_code; | 48 uint32_t system_code; |
48 }; | 49 }; |
49 | 50 |
50 } // namespace media | 51 } // namespace media |
51 | 52 |
52 #endif // MEDIA_BASE_CDM_KEY_INFORMATION_H_ | 53 #endif // MEDIA_BASE_CDM_KEY_INFORMATION_H_ |
OLD | NEW |