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

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

Issue 11233049: Splits shelf alignment and auto-hide behavior into two values, one (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gr! Created 8 years, 2 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 | « chrome/browser/prefs/pref_model_associator.h ('k') | chrome/browser/prefs/pref_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_model_associator.cc
diff --git a/chrome/browser/prefs/pref_model_associator.cc b/chrome/browser/prefs/pref_model_associator.cc
index 27fec3bb465f36a771b78830e714924199156026..623fbcfc338d58feaba1f8ba10bfb83af167e925 100644
--- a/chrome/browser/prefs/pref_model_associator.cc
+++ b/chrome/browser/prefs/pref_model_associator.cc
@@ -164,6 +164,7 @@ syncer::SyncError PrefModelAssociator::MergeDataAndStartSyncing(
}
models_associated_ = true;
+ pref_service_->HasSyncedChanged();
return syncer::SyncError();
}
@@ -172,6 +173,7 @@ void PrefModelAssociator::StopSyncing(syncer::ModelType type) {
models_associated_ = false;
sync_processor_.reset();
sync_error_factory_.reset();
+ pref_service_->HasSyncedChanged();
}
Value* PrefModelAssociator::MergePreference(
« no previous file with comments | « chrome/browser/prefs/pref_model_associator.h ('k') | chrome/browser/prefs/pref_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698