| Index: chrome/browser/chromeos/policy/user_network_configuration_updater_factory.cc
|
| diff --git a/chrome/browser/chromeos/policy/user_network_configuration_updater_factory.cc b/chrome/browser/chromeos/policy/user_network_configuration_updater_factory.cc
|
| index 6db58c9f856b13914db27ee9ad76a536ed904e93..876153fbe9241b97ec73eb226a14aecb67436f42 100644
|
| --- a/chrome/browser/chromeos/policy/user_network_configuration_updater_factory.cc
|
| +++ b/chrome/browser/chromeos/policy/user_network_configuration_updater_factory.cc
|
| @@ -16,7 +16,6 @@
|
| #include "components/policy/core/common/cloud/cloud_policy_constants.h"
|
| #include "components/user_manager/user.h"
|
| #include "components/user_manager/user_manager.h"
|
| -#include "components/user_manager/user_type.h"
|
|
|
| namespace policy {
|
|
|
| @@ -73,8 +72,7 @@ KeyedService* UserNetworkConfigurationUpdaterFactory::BuildServiceInstanceFor(
|
| if (user != user_manager::UserManager::Get()->GetPrimaryUser())
|
| return NULL;
|
|
|
| - const bool allow_trusted_certs_from_policy =
|
| - user->GetType() == user_manager::USER_TYPE_REGULAR;
|
| + const bool allow_trusted_certs_from_policy = user->HasGaiaAccount();
|
|
|
| ProfilePolicyConnector* profile_connector =
|
| ProfilePolicyConnectorFactory::GetForProfile(profile);
|
|
|