5#include <packager/media/formats/webm/webm_content_encodings.h>
7#include <absl/log/check.h>
8#include <absl/log/log.h>
13ContentEncoding::ContentEncoding()
14 : order_(kOrderInvalid),
15 scope_(kScopeInvalid),
17 encryption_algo_(kEncAlgoInvalid),
18 cipher_mode_(kCipherModeInvalid) {}
20ContentEncoding::~ContentEncoding() {}
22void ContentEncoding::SetEncryptionKeyId(
const uint8_t* encryption_key_id,
24 DCHECK(encryption_key_id);
26 encryption_key_id_.assign(
reinterpret_cast<const char*
>(encryption_key_id),
All the methods that are virtual are virtual for mocking.