summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/glue/sync_backend_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/glue/sync_backend_host.cc')
-rw-r--r--chrome/browser/sync/glue/sync_backend_host.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/sync/glue/sync_backend_host.cc b/chrome/browser/sync/glue/sync_backend_host.cc
index 116164f..efa717b 100644
--- a/chrome/browser/sync/glue/sync_backend_host.cc
+++ b/chrome/browser/sync/glue/sync_backend_host.cc
@@ -355,6 +355,9 @@ void SyncBackendHost::ConfigureDataTypes(
pending_config_mode_state_.get());
}
+ // Cleanup disabled types before starting configuration so that
+ // callers can assume that the data types are cleaned up once
+ // configuration is done.
if (!types_to_remove.empty()) {
sync_thread_.message_loop()->PostTask(
FROM_HERE,