OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_ |
6 #define CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_ |
7 | 7 |
| 8 namespace component_updater { |
| 9 |
8 class ComponentUpdateService; | 10 class ComponentUpdateService; |
9 | 11 |
10 // Our job is to: | 12 // Our job is to: |
11 // 1) Find what Widevine CDM is installed (if any). | 13 // 1) Find what Widevine CDM is installed (if any). |
12 // 2) Register with the component updater to download the latest version when | 14 // 2) Register with the component updater to download the latest version when |
13 // available. | 15 // available. |
14 // 3) Copy the Widevine CDM adapter bundled with chrome to the install path. | 16 // 3) Copy the Widevine CDM adapter bundled with chrome to the install path. |
15 // 4) Register the Widevine CDM (via the adapter) with Chrome. | 17 // 4) Register the Widevine CDM (via the adapter) with Chrome. |
16 // The first part is IO intensive so we do it asynchronously in the file thread. | 18 // The first part is IO intensive so we do it asynchronously in the file thread. |
17 void RegisterWidevineCdmComponent(ComponentUpdateService* cus); | 19 void RegisterWidevineCdmComponent(ComponentUpdateService* cus); |
18 | 20 |
| 21 } // namespace component_updater |
| 22 |
19 #endif // CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_ | 23 #endif // CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_ |
OLD | NEW |