| Index: chrome/browser/policy/profile_policy_connector_factory.cc
|
| diff --git a/chrome/browser/policy/profile_policy_connector_factory.cc b/chrome/browser/policy/profile_policy_connector_factory.cc
|
| index 149c79abb9f422eed61afc62f472c1d789d319f2..3a808a447646d39217898a404a106437a61e163f 100644
|
| --- a/chrome/browser/policy/profile_policy_connector_factory.cc
|
| +++ b/chrome/browser/policy/profile_policy_connector_factory.cc
|
| @@ -110,17 +110,7 @@ ProfilePolicyConnectorFactory::CreateForBrowserContextInternal(
|
|
|
| #if defined(OS_CHROMEOS)
|
| Profile* const profile = Profile::FromBrowserContext(context);
|
| - if (chromeos::ProfileHelper::IsSigninProfile(profile)) {
|
| - policy::DeviceCloudPolicyManagerChromeOS* device_cloud_policy_manager =
|
| - g_browser_process->platform_part()
|
| - ->browser_policy_connector_chromeos()
|
| - ->GetDeviceCloudPolicyManager();
|
| - // TODO(tnagel): Do we need to do something for Active Directory management?
|
| - if (device_cloud_policy_manager) {
|
| - device_cloud_policy_manager->SetSigninProfileSchemaRegistry(
|
| - schema_registry);
|
| - }
|
| - } else {
|
| + if (!chromeos::ProfileHelper::IsSigninProfile(profile)) {
|
| user = chromeos::ProfileHelper::Get()->GetUserByProfile(profile);
|
| CHECK(user);
|
| }
|
|
|