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

Side by Side Diff: chromecast/media/base/decrypt_context_impl_clearkey.cc

Issue 1257013003: Load CMA backend from shared library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromecast/media/base/decrypt_context_clearkey.h" 5 #include "chromecast/media/base/decrypt_context_impl_clearkey.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "crypto/symmetric_key.h" 8 #include "crypto/symmetric_key.h"
9 9
10 namespace chromecast { 10 namespace chromecast {
11 namespace media { 11 namespace media {
12 12
13 DecryptContextClearKey::DecryptContextClearKey(crypto::SymmetricKey* key) 13 DecryptContextImplClearKey::DecryptContextImplClearKey(
14 : DecryptContext(KEY_SYSTEM_CLEAR_KEY), 14 crypto::SymmetricKey* key)
15 key_(key) { 15 : DecryptContextImpl(KEY_SYSTEM_CLEAR_KEY), key_(key) {
16 CHECK(key); 16 CHECK(key);
17 } 17 }
18 18
19 DecryptContextClearKey::~DecryptContextClearKey() { 19 DecryptContextImplClearKey::~DecryptContextImplClearKey() {}
20 }
21 20
22 crypto::SymmetricKey* DecryptContextClearKey::GetKey() const { 21 crypto::SymmetricKey* DecryptContextImplClearKey::GetKey() const {
23 return key_; 22 return key_;
24 } 23 }
25 24
26 } // namespace media 25 } // namespace media
27 } // namespace chromecast 26 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698