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

Unified Diff: components/sync/test/fake_server/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/test/fake_server/tombstone_entity.cc
diff --git a/components/sync/test/fake_server/tombstone_entity.cc b/components/sync/test/fake_server/tombstone_entity.cc
index 014fca19311a4723c5d1698294577df6ca568e5a..819696be93c362d54ffc80e8c6d3223f2bb54f55 100644
--- a/components/sync/test/fake_server/tombstone_entity.cc
+++ b/components/sync/test/fake_server/tombstone_entity.cc
@@ -16,7 +16,8 @@ std::unique_ptr<FakeServerEntity> TombstoneEntity::Create(
const string& id,
const string& client_defined_unique_tag) {
const ModelType model_type = GetModelTypeFromId(id);
- CHECK_NE(model_type, syncer::UNSPECIFIED) << "Invalid ID was given: " << id;
+ // Invalid ID was given.
+ CHECK_NE(model_type, syncer::UNSPECIFIED);
return std::unique_ptr<FakeServerEntity>(
new TombstoneEntity(id, client_defined_unique_tag, model_type));
}

Powered by Google App Engine
This is Rietveld 408576698