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

Unified Diff: sync/engine/syncer_util.cc

Issue 948113005: Sync: Small refactoring of Directory::CheckTreeInvariants (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « sync/engine/directory_update_handler.cc ('k') | sync/internal_api/public/base/model_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/syncer_util.cc
diff --git a/sync/engine/syncer_util.cc b/sync/engine/syncer_util.cc
index 31ab478cb3dc4ece2021985dd6dae6c9465f193f..a2dc6050aa52e6c69816025ac01b51a8c0960aa8 100644
--- a/sync/engine/syncer_util.cc
+++ b/sync/engine/syncer_util.cc
@@ -267,7 +267,7 @@ UpdateAttemptResponse AttemptToUpdateEntry(
}
} else {
// new_parent is unset.
- DCHECK(!IsTypeWithServerGeneratedRoot(type));
+ DCHECK(IsTypeWithClientGeneratedRoot(type));
}
} else if (entry->GetIsDir()) {
Directory::Metahandles handles;
« no previous file with comments | « sync/engine/directory_update_handler.cc ('k') | sync/internal_api/public/base/model_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698