| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "chrome/browser/component_updater/component_updater_prefs.h" | 5 #include "chrome/browser/component_updater/component_updater_prefs.h" |
| 6 | 6 |
| 7 #include "chrome/browser/component_updater/chrome_component_updater_configurator
.h" | 7 #include "chrome/browser/component_updater/chrome_component_updater_configurator
.h" |
| 8 #include "chrome/browser/component_updater/recovery_component_installer.h" | 8 #include "chrome/browser/component_updater/recovery_component_installer.h" |
| 9 #include "chrome/browser/component_updater/recovery_improved_component_installer
.h" | 9 #include "chrome/browser/component_updater/recovery_improved_component_installer
.h" |
| 10 #include "chrome/common/features.h" |
| 11 |
| 12 #if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
| 10 #include "chrome/browser/component_updater/supervised_user_whitelist_installer.h
" | 13 #include "chrome/browser/component_updater/supervised_user_whitelist_installer.h
" |
| 14 #endif |
| 11 | 15 |
| 12 namespace component_updater { | 16 namespace component_updater { |
| 13 | 17 |
| 14 void RegisterPrefs(PrefRegistrySimple* registry) { | 18 void RegisterPrefs(PrefRegistrySimple* registry) { |
| 15 RegisterPrefsForChromeComponentUpdaterConfigurator(registry); | 19 RegisterPrefsForChromeComponentUpdaterConfigurator(registry); |
| 16 RegisterPrefsForRecoveryComponent(registry); | 20 RegisterPrefsForRecoveryComponent(registry); |
| 17 RegisterPrefsForRecoveryImprovedComponent(registry); | 21 RegisterPrefsForRecoveryImprovedComponent(registry); |
| 22 |
| 23 #if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
| 18 SupervisedUserWhitelistInstaller::RegisterPrefs(registry); | 24 SupervisedUserWhitelistInstaller::RegisterPrefs(registry); |
| 25 #endif |
| 19 } | 26 } |
| 20 | 27 |
| 21 } // namespace component_updater | 28 } // namespace component_updater |
| OLD | NEW |