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

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

Issue 8510079: sync: Remove ModelNeutralExecuteImpl() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/syncer.cc
diff --git a/chrome/browser/sync/engine/syncer.cc b/chrome/browser/sync/engine/syncer.cc
index bffcee6c9e9a105287b663e51da5c68bb15df4f1..a5bb9023a0543205506ac37e8ff61caca4d1f9c8 100644
--- a/chrome/browser/sync/engine/syncer.cc
+++ b/chrome/browser/sync/engine/syncer.cc
@@ -143,8 +143,10 @@ void Syncer::SyncShare(sessions::SyncSession* session,
}
case PROCESS_UPDATES: {
VLOG(1) << "Processing Updates";
- ProcessUpdatesCommand process_updates;
- process_updates.Execute(session);
+ if (session->status_controller()->ResponseContainsUpdates()) {
tim (not reviewing) 2011/11/17 18:46:38 I like this but the pattern here is typically to f
+ ProcessUpdatesCommand process_updates;
+ process_updates.Execute(session);
+ }
next_step = STORE_TIMESTAMPS;
break;
}
« no previous file with comments | « chrome/browser/sync/engine/process_updates_command.cc ('k') | chrome/browser/sync/sessions/status_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698