Chromium Code Reviews| Index: sync/engine/apply_updates_command.cc |
| diff --git a/sync/engine/apply_updates_command.cc b/sync/engine/apply_updates_command.cc |
| index 35490c3a8a89961772189db3302c3aa4887e0bd3..2ce5ff0a614baf1c5cc8a1a8e013b0262004a69c 100644 |
| --- a/sync/engine/apply_updates_command.cc |
| +++ b/sync/engine/apply_updates_command.cc |
| @@ -36,6 +36,10 @@ std::set<ModelSafeGroup> ApplyUpdatesCommand::GetGroupsToChange( |
| GetGroupForModelType(it.Get(), session.routing_info())); |
| } |
| + // The INTERNAL types are special. They have their own update routines, |
| + // ApplyUpdatesCommand should not process them. |
| + groups_with_unapplied_updates.erase(GROUP_INTERNAL); |
|
tim (not reviewing)
2012/06/22 16:34:15
Hmm. If we apply these types separately and befor
rlarocque
2012/06/22 16:42:31
I think you're right. Maybe we should assert that
rlarocque
2012/06/22 18:40:34
Actually, that won't work. We release the transac
|
| + |
| return groups_with_unapplied_updates; |
| } |