Index: components/encrypted_media/renderer/widevine_key_systems.h |
diff --git a/components/encrypted_media/renderer/widevine_key_systems.h b/components/encrypted_media/renderer/widevine_key_systems.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1316d0ad852fae2eec9f3073b422b7f9c86c6f12 |
--- /dev/null |
+++ b/components/encrypted_media/renderer/widevine_key_systems.h |
@@ -0,0 +1,26 @@ |
+// 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. |
+ |
+#ifndef COMPONENTS_ENCRYPTED_MEDIA_RENDERER_WIDEVINE_KEY_SYSTEMS_H_ |
+#define COMPONENTS_ENCRYPTED_MEDIA_RENDERER_WIDEVINE_KEY_SYSTEMS_H_ |
+ |
+#include <vector> |
+ |
+#include "content/public/renderer/key_system_info.h" |
+ |
+namespace encrypted_media { |
+ |
+#if defined(ENABLE_PEPPER_CDMS) |
+void AddPepperBasedWidevine( |
+ std::vector<content::KeySystemInfo>* concrete_key_systems, |
+ bool is_widevine_hr_supported, |
+ content::SupportedCodecs supported_codecs); |
+#elif defined(OS_ANDROID) |
+void AddAndroidWidevine( |
+ std::vector<content::KeySystemInfo>* concrete_key_systems); |
+#endif // defined(ENABLE_PEPPER_CDMS) |
+ |
+} // namespace encrypted_media |
+ |
+#endif // COMPONENTS_ENCRYPTED_MEDIA_RENDERER_WIDEVINE_KEY_SYSTEMS_H_ |