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

Unified Diff: chromecast/media/base/decrypt_context_impl.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 side-by-side diff with in-line comments
Download patch
Index: chromecast/media/base/decrypt_context_impl.cc
diff --git a/chromecast/media/base/decrypt_context_impl.cc b/chromecast/media/base/decrypt_context_impl.cc
new file mode 100644
index 0000000000000000000000000000000000000000..9e868d3069a7f662480f22f1b64ec70bb73b8e91
--- /dev/null
+++ b/chromecast/media/base/decrypt_context_impl.cc
@@ -0,0 +1,29 @@
+// Copyright 2014 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/base/decrypt_context_impl.h"
+
+namespace chromecast {
+namespace media {
+
+DecryptContextImpl::DecryptContextImpl(CastKeySystem key_system)
+ : key_system_(key_system) {}
+
+DecryptContextImpl::~DecryptContextImpl() {}
+
+CastKeySystem DecryptContextImpl::GetKeySystem() {
+ return key_system_;
+}
+
+bool DecryptContextImpl::Decrypt(CastDecoderBuffer* buffer,
+ std::vector<uint8_t>* output) {
+ return false;
+}
+
+crypto::SymmetricKey* DecryptContextImpl::GetKey() const {
+ return NULL;
+}
+
+} // namespace media
+} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698