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

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

Issue 8526018: [Sync] Remove logging/checks for case where server and local entries mismatch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment 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
« no previous file with comments | « no previous file | chrome/browser/sync/engine/syncer_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/process_updates_command.cc
diff --git a/chrome/browser/sync/engine/process_updates_command.cc b/chrome/browser/sync/engine/process_updates_command.cc
index b0aa54b0962ebcb2b9aea922ce64f7fd82884052..3f4d491ee87470dbc2e76c1ae8fde11ec20fba87 100644
--- a/chrome/browser/sync/engine/process_updates_command.cc
+++ b/chrome/browser/sync/engine/process_updates_command.cc
@@ -148,16 +148,6 @@ ServerUpdateProcessingResult ProcessUpdatesCommand::ProcessUpdate(
SyncerUtil::UpdateServerFieldsFromUpdate(&target_entry, update, name);
- if (target_entry.Get(syncable::SERVER_VERSION) ==
- target_entry.Get(syncable::BASE_VERSION) &&
- !target_entry.Get(syncable::IS_UNSYNCED) &&
- !target_entry.Get(syncable::IS_UNAPPLIED_UPDATE)) {
- // If these don't match, it means that we have a different view of the
- // truth from other clients. That's a sync bug, though we may be able
- // to recover the next time this item commits.
- LOG_IF(ERROR, !SyncerUtil::ServerAndLocalEntriesMatch(&target_entry))
- << target_entry;
- }
return SUCCESS_PROCESSED;
}
« no previous file with comments | « no previous file | chrome/browser/sync/engine/syncer_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698