5#include <packager/media/formats/webm/webm_content_encodings.h>
9#include <absl/log/check.h>
14ContentEncoding::ContentEncoding()
15 : order_(kOrderInvalid),
16 scope_(kScopeInvalid),
18 encryption_algo_(kEncAlgoInvalid),
19 cipher_mode_(kCipherModeInvalid) {}
21ContentEncoding::~ContentEncoding() {}
23void ContentEncoding::SetEncryptionKeyId(
const uint8_t* encryption_key_id,
25 DCHECK(encryption_key_id);
27 encryption_key_id_.assign(
reinterpret_cast<const char*
>(encryption_key_id),
All the methods that are virtual are virtual for mocking.