widevine_cdm_component_installer.h revision 5d1f7b1de12d16ceb2c938c56701a3e8bfa558f7
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. 4 5#ifndef CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_ 6#define CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_ 7 8namespace component_updater { 9 10class ComponentUpdateService; 11 12// Our job is to: 13// 1) Find what Widevine CDM is installed (if any). 14// 2) Register with the component updater to download the latest version when 15// available. 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. 19void RegisterWidevineCdmComponent(ComponentUpdateService* cus); 20 21} // namespace component_updater 22 23#endif // CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_ 24