| Index: chrome/browser/policy/configuration_policy_handler_list_factory.cc
|
| diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
|
| index b80cb13d35b692065762fba1fd3747ceb146b52c..7c1a81a3e65d4d5593e2badb7e405e9afd213cea 100644
|
| --- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
|
| +++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
|
| @@ -24,7 +24,6 @@
|
| #include "chrome/browser/profiles/guest_mode_policy_handler.h"
|
| #include "chrome/browser/profiles/incognito_mode_policy_handler.h"
|
| #include "chrome/browser/sessions/restore_on_startup_policy_handler.h"
|
| -#include "chrome/browser/supervised_user/supervised_user_creation_policy_handler.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/features.h"
|
| #include "chrome/common/pref_names.h"
|
| @@ -97,6 +96,10 @@
|
| #include "components/spellcheck/browser/pref_names.h"
|
| #endif
|
|
|
| +#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
|
| +#include "chrome/browser/supervised_user/supervised_user_creation_policy_handler.h"
|
| +#endif
|
| +
|
| namespace policy {
|
|
|
| namespace {
|
| @@ -915,7 +918,9 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildHandlerList(
|
| base::MakeUnique<extensions::NativeMessagingHostListPolicyHandler>(
|
| key::kNativeMessagingBlacklist,
|
| extensions::pref_names::kNativeMessagingBlacklist, true));
|
| +#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
|
| handlers->AddHandler(base::MakeUnique<SupervisedUserCreationPolicyHandler>());
|
| +#endif // BUILDFLAG(ENABLE_SUPERVISED_USERS)
|
| #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
|
|
|
| #if !defined(OS_ANDROID)
|
|
|