blob: e9de57ac7a53a8e398922dd96830415ffa5606ff [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/browser/component_updater/recovery_improved_component_installer.h"
#include "chrome/common/buildflags.h"
#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
#include "chrome/browser/component_updater/supervised_user_whitelist_installer.h"
#endif
namespace component_updater {
void RegisterPrefs(PrefRegistrySimple* registry) {
RegisterPrefsForChromeComponentUpdaterConfigurator(registry);
RegisterPrefsForRecoveryComponent(registry);
RegisterPrefsForRecoveryImprovedComponent(registry);
#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
SupervisedUserWhitelistInstaller::RegisterPrefs(registry);
#endif
}
} // namespace component_updater