Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / component_updater / widevine_cdm_component_installer.h
bloba52decee8a2d424e4442e4fc065aa7c6bdac7d61
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;
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.
19 void RegisterWidevineCdmComponent(ComponentUpdateService* cus);
21 } // namespace component_updater
23 #endif // CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_