5 #include "packager/base/logging.h"
6 #include "packager/media/formats/webm/webm_content_encodings.h"
11 ContentEncoding::ContentEncoding()
12 : order_(kOrderInvalid),
13 scope_(kScopeInvalid),
15 encryption_algo_(kEncAlgoInvalid),
16 cipher_mode_(kCipherModeInvalid) {
19 ContentEncoding::~ContentEncoding() {}
21 void ContentEncoding::SetEncryptionKeyId(
const uint8_t* encryption_key_id,
23 DCHECK(encryption_key_id);
25 encryption_key_id_.assign(
reinterpret_cast<const char*
>(encryption_key_id),
All the methods that are virtual are virtual for mocking.