Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(759)

Side by Side Diff: chrome/browser/component_updater/component_updater_prefs.cc

Issue 2928823003: Make it possible to build without enable_supervised_users.
Patch Set: Does it still compile with the feature enabled? Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/component_updater/supervised_user_whitelist_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698