OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_RECOVERY_COMPONENT_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_RECOVERY_COMPONENT_INSTALLER_H_ |
6 #define CHROME_BROWSER_COMPONENT_UPDATER_RECOVERY_COMPONENT_INSTALLER_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_RECOVERY_COMPONENT_INSTALLER_H_ |
7 | 7 |
8 class ComponentUpdateService; | |
9 class PrefRegistrySimple; | 8 class PrefRegistrySimple; |
10 class PrefService; | 9 class PrefService; |
11 | 10 |
| 11 namespace component_updater { |
| 12 |
| 13 class ComponentUpdateService; |
| 14 |
12 // Component update registration for the recovery component. The job of the | 15 // Component update registration for the recovery component. The job of the |
13 // recovery component is to repair the chrome installation or repair the Google | 16 // recovery component is to repair the chrome installation or repair the Google |
14 // update installation. This is a last resort safety mechanism. | 17 // update installation. This is a last resort safety mechanism. |
15 void RegisterRecoveryComponent(ComponentUpdateService* cus, | 18 void RegisterRecoveryComponent(ComponentUpdateService* cus, |
16 PrefService* prefs); | 19 PrefService* prefs); |
17 | 20 |
18 | 21 |
19 // Register user preferences related to the recovery component. | 22 // Register user preferences related to the recovery component. |
20 void RegisterPrefsForRecoveryComponent(PrefRegistrySimple* registry); | 23 void RegisterPrefsForRecoveryComponent(PrefRegistrySimple* registry); |
21 | 24 |
| 25 } // namespace component_updater |
| 26 |
22 #endif // CHROME_BROWSER_COMPONENT_UPDATER_RECOVERY_COMPONENT_INSTALLER_H_ | 27 #endif // CHROME_BROWSER_COMPONENT_UPDATER_RECOVERY_COMPONENT_INSTALLER_H_ |
23 | 28 |
OLD | NEW |