5 #include <packager/media/formats/webm/webm_content_encodings.h>
7 #include <absl/log/check.h>
8 #include <absl/log/log.h>
13 ContentEncoding::ContentEncoding()
14 : order_(kOrderInvalid),
15 scope_(kScopeInvalid),
17 encryption_algo_(kEncAlgoInvalid),
18 cipher_mode_(kCipherModeInvalid) {
21 ContentEncoding::~ContentEncoding() {}
23 void 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.