Index: chrome/browser/prefs/chrome_pref_service_factory.cc |
diff --git a/chrome/browser/prefs/chrome_pref_service_factory.cc b/chrome/browser/prefs/chrome_pref_service_factory.cc |
index d2e0d02510603c09e7a298e5134bd467ab045a1d..48ceeea700d79b43bddc1f3b37821f0f613a829d 100644 |
--- a/chrome/browser/prefs/chrome_pref_service_factory.cc |
+++ b/chrome/browser/prefs/chrome_pref_service_factory.cc |
@@ -246,13 +246,13 @@ SettingsEnforcementGroup GetSettingsEnforcementGroup() { |
# if defined(OS_WIN) |
if (!g_disable_domain_check_for_testing) { |
static bool first_call = true; |
- static const bool is_enrolled_to_domain = base::win::IsEnrolledToDomain(); |
+ static const bool is_managed = base::win::IsEnterpriseManaged(); |
if (first_call) { |
UMA_HISTOGRAM_BOOLEAN("Settings.TrackedPreferencesNoEnforcementOnDomain", |
- is_enrolled_to_domain); |
+ is_managed); |
first_call = false; |
} |
- if (is_enrolled_to_domain) |
+ if (is_managed) |
return GROUP_NO_ENFORCEMENT; |
} |
#endif |