| Index: chrome/browser/extensions/external_provider_impl.cc
|
| diff --git a/chrome/browser/extensions/external_provider_impl.cc b/chrome/browser/extensions/external_provider_impl.cc
|
| index 9966755d07db3e8aa3612060925a8829c2b03ed6..b517af5f23bc552b824a98868f18f8f1d40b7c7e 100644
|
| --- a/chrome/browser/extensions/external_provider_impl.cc
|
| +++ b/chrome/browser/extensions/external_provider_impl.cc
|
| @@ -498,7 +498,7 @@ void ExternalProviderImpl::CreateExternalProviders(
|
| oem_extension_creation_flags)));
|
| }
|
| #elif defined(OS_LINUX)
|
| - if (!profile->IsSupervised()) {
|
| + if (!profile->IsLegacySupervised()) {
|
| provider_list->push_back(
|
| linked_ptr<ExternalProviderInterface>(
|
| new ExternalProviderImpl(
|
| @@ -514,7 +514,7 @@ void ExternalProviderImpl::CreateExternalProviders(
|
| }
|
| #endif
|
|
|
| - if (!profile->IsSupervised()) {
|
| + if (!profile->IsLegacySupervised()) {
|
| #if defined(OS_WIN)
|
| provider_list->push_back(
|
| linked_ptr<ExternalProviderInterface>(
|
| @@ -570,17 +570,17 @@ void ExternalProviderImpl::CreateExternalProviders(
|
| Extension::FROM_WEBSTORE |
|
| Extension::WAS_INSTALLED_BY_DEFAULT)));
|
| #endif
|
| -
|
| - provider_list->push_back(
|
| - linked_ptr<ExternalProviderInterface>(
|
| - new ExternalProviderImpl(
|
| - service,
|
| - new ExternalComponentLoader(profile),
|
| - profile,
|
| - Manifest::INVALID_LOCATION,
|
| - Manifest::EXTERNAL_COMPONENT,
|
| - Extension::FROM_WEBSTORE | Extension::WAS_INSTALLED_BY_DEFAULT)));
|
| }
|
| +
|
| + provider_list->push_back(
|
| + linked_ptr<ExternalProviderInterface>(
|
| + new ExternalProviderImpl(
|
| + service,
|
| + new ExternalComponentLoader(profile),
|
| + profile,
|
| + Manifest::INVALID_LOCATION,
|
| + Manifest::EXTERNAL_COMPONENT,
|
| + Extension::FROM_WEBSTORE | Extension::WAS_INSTALLED_BY_DEFAULT)));
|
| }
|
|
|
| } // namespace extensions
|
|
|