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

Unified Diff: content/common/media/content_decryption_module_registration.cc

Issue 1637083002: Add CdmService to keep track of CDMs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ContentDecryptionModule Created 4 years, 10 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: content/common/media/content_decryption_module_registration.cc
diff --git a/content/common/media/content_decryption_module_registration.cc b/content/common/media/content_decryption_module_registration.cc
new file mode 100644
index 0000000000000000000000000000000000000000..aefd8990bcaac55bae63c06b37a5bb478c67fbfd
--- /dev/null
+++ b/content/common/media/content_decryption_module_registration.cc
@@ -0,0 +1,23 @@
+// Copyright 2016 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 "content/public/common/content_decryption_module_registration.h"
+
+namespace content {
+
+ContentDecryptionModuleRegistration::ContentDecryptionModuleRegistration(
+ const std::string& key_system,
+ const std::string& version,
+ const base::FilePath& module_library_path,
+ const std::vector<base::string16>& supported_codecs,
+ const std::vector<base::string16>& supported_init_data_types)
+ : key_system(key_system),
+ version(version),
+ module_library_path(module_library_path),
+ supported_codecs(supported_codecs),
+ supported_init_data_types(supported_init_data_types) {}
+
+ContentDecryptionModuleRegistration::~ContentDecryptionModuleRegistration() {}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698