[go: nahoru, domu]

blob: 70323ce8259e95387574d37a5582d997af9247d5 [file] [log] [blame]
John Rummell45cde432023-06-01 23:46:021// Copyright 2023 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef COMPONENTS_CDM_COMMON_ANDROID_CDM_REGISTRATION_H_
6#define COMPONENTS_CDM_COMMON_ANDROID_CDM_REGISTRATION_H_
7
8#include <vector>
9
10#include "content/public/common/cdm_info.h"
11#include "third_party/widevine/cdm/buildflags.h"
12
13namespace cdm {
14
15#if BUILDFLAG(ENABLE_WIDEVINE)
16// Add Widevine Content Decryption Module, if enabled.
17void AddAndroidWidevineCdm(std::vector<content::CdmInfo>* cdms);
18#endif
19
20// Add other platform-supported Widevine Content Decryption Modules which are
21// not explicitly handled by Chrome.
22void AddOtherAndroidCdms(std::vector<content::CdmInfo>* cdms);
23
24} // namespace cdm
25
26#endif // COMPONENTS_CDM_COMMON_ANDROID_CDM_REGISTRATION_H_