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

Unified Diff: chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc

Issue 351026: Remove context-based dependencies on SyncerSession from ApplyUpdatesCommand.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
Index: chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc
===================================================================
--- chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc (revision 30625)
+++ chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc (working copy)
@@ -218,7 +218,8 @@
// 5. Use the usual apply updates from the special start state we've just
// prepared.
- UpdateApplicator applicator(session, handles.begin(), handles.end());
+ UpdateApplicator applicator(session->resolver(), handles.begin(),
+ handles.end());
while (applicator.AttemptOneApplication(trans)) {
// Keep going till all updates are applied.
}
@@ -236,7 +237,7 @@
}
return false; // Don't save progress -- we just undid it.
}
- applicator.SaveProgressIntoSessionState();
+ applicator.SaveProgressIntoSessionState(session);
return true;
}
« no previous file with comments | « chrome/browser/sync/engine/apply_updates_command.cc ('k') | chrome/browser/sync/engine/conflict_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698