| Index: chromecast/media/cma/base/decrypt_config_impl.cc
|
| diff --git a/chromecast/media/cma/base/decrypt_config_impl.cc b/chromecast/media/cma/base/decrypt_config_impl.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a755436ecbd12bf9f1d3c956ae5a9caaec2be696
|
| --- /dev/null
|
| +++ b/chromecast/media/cma/base/decrypt_config_impl.cc
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chromecast/media/cma/base/decrypt_config_impl.h"
|
| +
|
| +namespace chromecast {
|
| +namespace media {
|
| +
|
| +DecryptConfigImpl::DecryptConfigImpl(
|
| + const std::string& key_id,
|
| + const std::string& iv,
|
| + const std::vector<SubsampleEntry>& subsamples)
|
| + : key_id_(key_id), iv_(iv), subsamples_(subsamples) {}
|
| +
|
| +DecryptConfigImpl::~DecryptConfigImpl() {}
|
| +
|
| +const std::string& DecryptConfigImpl::key_id() const {
|
| + return key_id_;
|
| +}
|
| +
|
| +const std::string& DecryptConfigImpl::iv() const {
|
| + return iv_;
|
| +}
|
| +
|
| +const std::vector<SubsampleEntry>& DecryptConfigImpl::subsamples() const {
|
| + return subsamples_;
|
| +}
|
| +
|
| +} // namespace media
|
| +} // namespace chromecast
|
|
|