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

Unified Diff: chrome/browser/extensions/external_provider_impl.cc

Issue 955683002: Register external extension providers also for supervised users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698