| 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 #include "base/stl_util.h" | 5 #include "base/stl_util.h" |
| 6 #include "media/base/cdm_key_information.h" | 6 #include "media/base/cdm_key_information.h" |
| 7 | 7 |
| 8 namespace media { | 8 namespace media { |
| 9 | 9 |
| 10 CdmKeyInformation::CdmKeyInformation() | 10 CdmKeyInformation::CdmKeyInformation() |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 system_code) {} | 25 system_code) {} |
| 26 | 26 |
| 27 CdmKeyInformation::CdmKeyInformation(const uint8_t* key_id_data, | 27 CdmKeyInformation::CdmKeyInformation(const uint8_t* key_id_data, |
| 28 size_t key_id_length, | 28 size_t key_id_length, |
| 29 KeyStatus status, | 29 KeyStatus status, |
| 30 uint32_t system_code) | 30 uint32_t system_code) |
| 31 : key_id(key_id_data, key_id_data + key_id_length), | 31 : key_id(key_id_data, key_id_data + key_id_length), |
| 32 status(status), | 32 status(status), |
| 33 system_code(system_code) {} | 33 system_code(system_code) {} |
| 34 | 34 |
| 35 CdmKeyInformation::CdmKeyInformation(const CdmKeyInformation& other) = default; |
| 36 |
| 35 CdmKeyInformation::~CdmKeyInformation() { | 37 CdmKeyInformation::~CdmKeyInformation() { |
| 36 } | 38 } |
| 37 | 39 |
| 38 } // namespace media | 40 } // namespace media |
| OLD | NEW |