| Index: sync/engine/syncer.cc
|
| diff --git a/sync/engine/syncer.cc b/sync/engine/syncer.cc
|
| index 0c451ee1e71ea722df5492ffb2ac6941a5eafffe..39b068b6f668b0be932f666500e6f1104e0136be 100644
|
| --- a/sync/engine/syncer.cc
|
| +++ b/sync/engine/syncer.cc
|
| @@ -11,7 +11,6 @@
|
| #include "base/time/time.h"
|
| #include "build/build_config.h"
|
| #include "sync/engine/apply_control_data_updates.h"
|
| -#include "sync/engine/apply_updates_and_resolve_conflicts_command.h"
|
| #include "sync/engine/commit.h"
|
| #include "sync/engine/conflict_resolver.h"
|
| #include "sync/engine/download.h"
|
| @@ -115,8 +114,11 @@ void Syncer::ApplyUpdates(SyncSession* session) {
|
|
|
| ApplyControlDataUpdates(session->context()->directory());
|
|
|
| - ApplyUpdatesAndResolveConflictsCommand apply_updates;
|
| - apply_updates.Execute(session);
|
| + UpdateHandlerMap* handler_map = session->context()->update_handler_map();
|
| + for (UpdateHandlerMap::iterator it = handler_map->begin();
|
| + it != handler_map->end(); ++it) {
|
| + it->second->ApplyUpdates(session->mutable_status_controller());
|
| + }
|
|
|
| session->context()->set_hierarchy_conflict_detected(
|
| session->status_controller().num_hierarchy_conflicts() > 0);
|
|
|