recovery_component_installer.h revision 5d1f7b1de12d16ceb2c938c56701a3e8bfa558f7
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 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_COMPONENT_UPDATER_RECOVERY_COMPONENT_INSTALLER_H_ 6#define CHROME_BROWSER_COMPONENT_UPDATER_RECOVERY_COMPONENT_INSTALLER_H_ 7 8class PrefRegistrySimple; 9class PrefService; 10 11namespace component_updater { 12 13class ComponentUpdateService; 14 15// Component update registration for the recovery component. The job of the 16// recovery component is to repair the chrome installation or repair the Google 17// update installation. This is a last resort safety mechanism. 18void RegisterRecoveryComponent(ComponentUpdateService* cus, 19 PrefService* prefs); 20 21 22// Register user preferences related to the recovery component. 23void RegisterPrefsForRecoveryComponent(PrefRegistrySimple* registry); 24 25} // namespace component_updater 26 27#endif // CHROME_BROWSER_COMPONENT_UPDATER_RECOVERY_COMPONENT_INSTALLER_H_ 28 29