1 // Copyright (c) 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.
5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_
8 namespace component_updater
{
10 class ComponentUpdateService
;
13 // 1) Find what Widevine CDM is installed (if any).
14 // 2) Register with the component updater to download the latest version when
16 // 3) Copy the Widevine CDM adapter bundled with chrome to the install path.
17 // 4) Register the Widevine CDM (via the adapter) with Chrome.
18 // The first part is IO intensive so we do it asynchronously in the file thread.
19 void RegisterWidevineCdmComponent(ComponentUpdateService
* cus
);
21 } // namespace component_updater
23 #endif // CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_