| // Copyright 2021 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CONTENT_BROWSER_MEDIA_KEY_SYSTEM_SUPPORT_WIN_H_ |
| #define CONTENT_BROWSER_MEDIA_KEY_SYSTEM_SUPPORT_WIN_H_ |
| |
| #include <string> |
| |
| #include "base/files/file_path.h" |
| #include "base/functional/callback.h" |
| #include "media/base/cdm_capability.h" |
| #include "media/cdm/cdm_type.h" |
| |
| namespace content { |
| |
| // Returns the software or hardware secure CdmCapability supported in |
| // MediaFoundationService for `key_system` by the CDM located in `cdm_path`. |
| void GetMediaFoundationServiceCdmCapability( |
| const std::string& key_system, |
| const media::CdmType& cdm_type, |
| const base::FilePath& cdm_path, |
| bool is_hw_secure, |
| media::CdmCapabilityCB cdm_capability_cb); |
| |
| } // namespace content |
| |
| #endif // CONTENT_BROWSER_MEDIA_KEY_SYSTEM_SUPPORT_WIN_H_ |