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

Unified Diff: components/sync/engine_impl/loopback_server/persistent_tombstone_entity.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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: components/sync/engine_impl/loopback_server/persistent_tombstone_entity.cc
diff --git a/components/sync/engine_impl/loopback_server/persistent_tombstone_entity.cc b/components/sync/engine_impl/loopback_server/persistent_tombstone_entity.cc
index 0d5b88deeef451aaa54fccb041768796d517d192..f52600366fa3d1ced8a3263303a1d0ee64f818ac 100644
--- a/components/sync/engine_impl/loopback_server/persistent_tombstone_entity.cc
+++ b/components/sync/engine_impl/loopback_server/persistent_tombstone_entity.cc
@@ -23,8 +23,8 @@ PersistentTombstoneEntity::~PersistentTombstoneEntity() {}
std::unique_ptr<LoopbackServerEntity> PersistentTombstoneEntity::Create(
const sync_pb::SyncEntity& entity) {
const ModelType model_type = GetModelTypeFromId(entity.id_string());
- CHECK_NE(model_type, syncer::UNSPECIFIED) << "Invalid ID was given: "
- << entity.id_string();
+ // Invalid ID was given.
+ CHECK_NE(model_type, syncer::UNSPECIFIED);
return std::unique_ptr<LoopbackServerEntity>(new PersistentTombstoneEntity(
entity.id_string(), entity.version(), model_type));
}

Powered by Google App Engine
This is Rietveld 408576698