OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chromecast/media/cma/base/decrypt_config_impl.h" |
| 6 |
| 7 namespace chromecast { |
| 8 namespace media { |
| 9 |
| 10 DecryptConfigImpl::DecryptConfigImpl( |
| 11 const std::string& key_id, |
| 12 const std::string& iv, |
| 13 const std::vector<SubsampleEntry>& subsamples) |
| 14 : key_id_(key_id), iv_(iv), subsamples_(subsamples) {} |
| 15 |
| 16 DecryptConfigImpl::~DecryptConfigImpl() {} |
| 17 |
| 18 const std::string& DecryptConfigImpl::key_id() const { |
| 19 return key_id_; |
| 20 } |
| 21 |
| 22 const std::string& DecryptConfigImpl::iv() const { |
| 23 return iv_; |
| 24 } |
| 25 |
| 26 const std::vector<SubsampleEntry>& DecryptConfigImpl::subsamples() const { |
| 27 return subsamples_; |
| 28 } |
| 29 |
| 30 } // namespace media |
| 31 } // namespace chromecast |
OLD | NEW |