| Index: chrome/browser/component_updater/recovery_component_installer.h
|
| diff --git a/chrome/browser/component_updater/recovery_component_installer.h b/chrome/browser/component_updater/recovery_component_installer.h
|
| index 260083decf1f7877fcff7543c023117bcdf95526..efd883be72aa8322e1867fa0be6462e7a4b141b7 100644
|
| --- a/chrome/browser/component_updater/recovery_component_installer.h
|
| +++ b/chrome/browser/component_updater/recovery_component_installer.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef CHROME_BROWSER_COMPONENT_UPDATER_RECOVERY_COMPONENT_INSTALLER_H_
|
| #define CHROME_BROWSER_COMPONENT_UPDATER_RECOVERY_COMPONENT_INSTALLER_H_
|
|
|
| +#include "base/callback_forward.h"
|
| +
|
| class PrefRegistrySimple;
|
| class PrefService;
|
|
|
| @@ -20,6 +22,12 @@ void RegisterRecoveryComponent(ComponentUpdateService* cus, PrefService* prefs);
|
| // Register user preferences related to the recovery component.
|
| void RegisterPrefsForRecoveryComponent(PrefRegistrySimple* registry);
|
|
|
| +// When |elevation_allowed|, launch an elevated process to do recovery.
|
| +// |callback| is called when the preference flag is set for the UpgradeDetector
|
| +// to check.
|
| +void PerformRecoveryElevated(
|
| + PrefService* prefs, bool elevation_allowed, const base::Closure& callback);
|
| +
|
| } // namespace component_updater
|
|
|
| #endif // CHROME_BROWSER_COMPONENT_UPDATER_RECOVERY_COMPONENT_INSTALLER_H_
|
|
|