mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Windows/Mac: Use `--enable-widevine-cdm` command-line flag to enable download of CDM binaries via the component updater. - Linux: Use `--widevide-cdm-path` and `--widevine-cdm-version` command-line flags to load CDM binaries that already exist on the system. - A cache-path value is usually required when CDM is enabled.
24 lines
941 B
C++
24 lines
941 B
C++
// Copyright (c) 2013 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 CEF_LIBCEF_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_
|
|
#define CEF_LIBCEF_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_
|
|
|
|
namespace component_updater {
|
|
|
|
class ComponentUpdateService;
|
|
|
|
// Our job is to:
|
|
// 1) Find what Widevine CDM is installed (if any).
|
|
// 2) Register with the component updater to download the latest version when
|
|
// available.
|
|
// 3) Copy the Widevine CDM adapter bundled with chrome to the install path.
|
|
// 4) Register the Widevine CDM (via the adapter) with Chrome.
|
|
// The first part is IO intensive so we do it asynchronously in the file thread.
|
|
void RegisterWidevineCdmComponent(ComponentUpdateService* cus);
|
|
|
|
} // namespace component_updater
|
|
|
|
#endif // CEF_LIBCEF_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_
|