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

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

Issue 2865022: sync: add CleanupDisabledTypesCommand to purge data pertaining to previously... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months 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
« no previous file with comments | « chrome/browser/sync/engine/syncer.cc ('k') | chrome/browser/sync/engine/verify_updates_command_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/syncer_end_command.cc
===================================================================
--- chrome/browser/sync/engine/syncer_end_command.cc (revision 51231)
+++ chrome/browser/sync/engine/syncer_end_command.cc (working copy)
@@ -17,6 +17,8 @@
void SyncerEndCommand::ExecuteImpl(sessions::SyncSession* session) {
sessions::StatusController* status(session->status_controller());
status->set_syncing(false);
+ session->context()->set_previous_session_routing_info(
+ session->routing_info());
// This might be the first time we've fully completed a sync cycle, for
// some subset of the currently synced datatypes.
« no previous file with comments | « chrome/browser/sync/engine/syncer.cc ('k') | chrome/browser/sync/engine/verify_updates_command_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698