blob: e22295bb4e0bb342798ca61ab100ed108a5a167f [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/component_updater/component_updater_prefs.h"
#include "chrome/browser/component_updater/chrome_component_updater_configurator.h"
#include "chrome/browser/component_updater/recovery_component_installer.h"
#include "chrome/common/buildflags.h"
#include "components/component_updater/installer_policies/autofill_states_component_installer.h"
#if !defined(OS_ANDROID)
#include "chrome/browser/component_updater/soda_component_installer.h"
#endif
namespace component_updater {
void RegisterPrefs(PrefRegistrySimple* registry) {
RegisterPrefsForChromeComponentUpdaterConfigurator(registry);
RegisterPrefsForRecoveryComponent(registry);
#if !defined(OS_ANDROID)
// TODO(crbug.com/1055150): Move this to SodaInstaller.
RegisterPrefsForSodaComponent(registry);
#endif
AutofillStatesComponentInstallerPolicy::RegisterPrefs(registry);
}
} // namespace component_updater