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

Unified Diff: chrome/browser/prefs/chrome_pref_service_factory.cc

Issue 220203011: Changes requested by gab for previously committed CLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
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 55fef2f99e928499401525feb2c5981e3e353a16..7f4afd4c0f0e79cd028b55016736ab64df97f10e 100644
--- a/chrome/browser/prefs/chrome_pref_service_factory.cc
+++ b/chrome/browser/prefs/chrome_pref_service_factory.cc
@@ -333,8 +333,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();
@@ -429,6 +427,9 @@ void SchedulePrefHashStoresUpdateCheck(
return;
}
+ if (GetSettingsEnforcementGroup() >= GROUP_ENFORCE_ALWAYS)
+ return;
+
const int kDefaultPrefHashStoresUpdateCheckDelaySeconds = 55;
BrowserThread::PostDelayedTask(
BrowserThread::UI,
« no previous file with comments | « no previous file | chrome/browser/prefs/pref_hash_filter.cc » ('j') | chrome/browser/prefs/pref_hash_filter_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698