aw_key_systems.cc 652 B

123456789101112131415161718
  1. // Copyright 2013 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. #include "android_webview/renderer/aw_key_systems.h"
  5. #include "components/cdm/renderer/android_key_systems.h"
  6. namespace android_webview {
  7. void AwAddKeySystems(std::vector<std::unique_ptr<media::KeySystemProperties>>*
  8. key_systems_properties) {
  9. #if BUILDFLAG(ENABLE_WIDEVINE)
  10. cdm::AddAndroidWidevine(key_systems_properties);
  11. #endif // BUILDFLAG(ENABLE_WIDEVINE)
  12. cdm::AddAndroidPlatformKeySystems(key_systems_properties);
  13. }
  14. } // namespace android_webview