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 97313af949c6e5128f12ef5f5348c1809dd7fd7f..195bc431d5190709baf05df7c9844ca56a7e7f6c 100644 |
--- a/chrome/browser/prefs/chrome_pref_service_factory.cc |
+++ b/chrome/browser/prefs/chrome_pref_service_factory.cc |
@@ -357,8 +357,6 @@ void PrepareFactory( |
// path matches |ignored_profile_path|. |
void UpdateAllPrefHashStoresIfRequired( |
const base::FilePath& ignored_profile_path) { |
- if (GetSettingsEnforcementGroup() >= GROUP_ENFORCE_ALWAYS) |
- return; |
const ProfileInfoCache& profile_info_cache = |
g_browser_process->profile_manager()->GetProfileInfoCache(); |
const size_t n_profiles = profile_info_cache.GetNumberOfProfiles(); |
@@ -455,6 +453,9 @@ void SchedulePrefHashStoresUpdateCheck( |
return; |
} |
+ if (GetSettingsEnforcementGroup() >= GROUP_ENFORCE_ALWAYS) |
+ return; |
+ |
const int kDefaultPrefHashStoresUpdateCheckDelaySeconds = 55; |
BrowserThread::PostDelayedTask( |
BrowserThread::UI, |