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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 12315053: Fix prefs registration in SyncPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment change. Created 7 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
Index: chrome/browser/sync/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 59c6b6824568b74676b6787815541588475395e0..72f8f7db4f7f69920ed6696338a3fbc454fa2168 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -250,8 +250,6 @@ void ProfileSyncService::TrySyncDatatypePrefRecovery() {
PrefService* const pref_service = profile_->GetPrefs();
if (!pref_service)
return;
- if (sync_prefs_.HasKeepEverythingSynced())
- return;
const syncer::ModelTypeSet registered_types = GetRegisteredDataTypes();
if (sync_prefs_.GetPreferredDataTypes(registered_types).Size() > 1)
return;

Powered by Google App Engine
This is Rietveld 408576698