Index: sync/engine/syncer_proto_util.cc |
diff --git a/sync/engine/syncer_proto_util.cc b/sync/engine/syncer_proto_util.cc |
index 62fec65d6d740226a583bd83488e97378dd40fcf..d6fb8d5b5173e4984a25753cbb4b1f5028fdaf4e 100644 |
--- a/sync/engine/syncer_proto_util.cc |
+++ b/sync/engine/syncer_proto_util.cc |
@@ -462,9 +462,8 @@ SyncerError SyncerProtoUtil::PostClientToServerMessage( |
case MIGRATION_DONE: |
LOG_IF(ERROR, 0 >= response->migrated_data_type_id_size()) |
<< "MIGRATION_DONE but no types specified."; |
- // TODO(akalin): This should be a set union. |
- session->mutable_status_controller()-> |
- set_types_needing_local_migration(GetTypesToMigrate(*response)); |
+ session->delegate()->OnReceivedMigrationRequest( |
+ GetTypesToMigrate(*response)); |
return SERVER_RETURN_MIGRATION_DONE; |
case CLEAR_PENDING: |
return SERVER_RETURN_CLEAR_PENDING; |