Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(624)

Side by Side Diff: chromecast/media/cma/base/decrypt_config_impl.h

Issue 1257013003: Load CMA backend from shared library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit test + android fixes Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 #ifndef CHROMECAST_MEDIA_CMA_BASE_DECRYPT_CONFIG_IMPL_H_
6 #define CHROMECAST_MEDIA_CMA_BASE_DECRYPT_CONFIG_IMPL_H_
7
8 #include "chromecast/public/media/decrypt_config.h"
9
10 namespace chromecast {
11 namespace media {
12
13 // Contains all information that a decryptor needs to decrypt a media sample.
14 class DecryptConfigImpl : public DecryptConfig {
15 public:
16 DecryptConfigImpl(const std::string& key_id,
gunsch 2015/07/27 17:14:49 WDYT about having the ctor instead be DecryptConfi
halliwell 2015/07/28 02:19:35 I've made a constructor that takes that, in respon
17 const std::string& iv,
18 const std::vector<SubsampleEntry>& subsamples);
19 ~DecryptConfigImpl() override;
20
21 const std::string& key_id() const override;
22 const std::string& iv() const override;
23 const std::vector<SubsampleEntry>& subsamples() const override;
24
25 private:
26 std::string key_id_;
27 std::string iv_;
28 std::vector<SubsampleEntry> subsamples_;
29 };
30
31 } // namespace media
32 } // namespace chromecast
33
34 #endif // CHROMECAST_MEDIA_CMA_BASE_DECRYPT_CONFIG_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698