1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
content / browser / media / key_system_support_win.h [blame]
// 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"
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 base::FilePath& cdm_path,
bool is_hw_secure,
media::CdmCapabilityCB cdm_capability_cb);
} // namespace content
#endif // CONTENT_BROWSER_MEDIA_KEY_SYSTEM_SUPPORT_WIN_H_