#include "media/base/cdm_key_information.h"
#include <ostream>
#include "base/notreached.h"
#include "base/strings/string_number_conversions.h"
namespace media {
CdmKeyInformation::CdmKeyInformation()
: … { … }
CdmKeyInformation::CdmKeyInformation(const std::vector<uint8_t>& key_id,
KeyStatus status,
uint32_t system_code)
: … { … }
CdmKeyInformation::CdmKeyInformation(const std::string& key_id,
KeyStatus status,
uint32_t system_code)
: … { … }
CdmKeyInformation::CdmKeyInformation(const uint8_t* key_id_data,
size_t key_id_length,
KeyStatus status,
uint32_t system_code)
: … { … }
CdmKeyInformation::CdmKeyInformation(const CdmKeyInformation& other) = default;
CdmKeyInformation::~CdmKeyInformation() = default;
std::string CdmKeyInformation::KeyStatusToString(KeyStatus key_status) { … }
std::ostream& operator<<(std::ostream& os,
CdmKeyInformation::KeyStatus status) { … }
std::ostream& operator<<(std::ostream& os, const CdmKeyInformation& info) { … }
}