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

Unified Diff: components/sync/engine_impl/loopback_server/persistent_unique_client_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_unique_client_entity.cc
diff --git a/components/sync/engine_impl/loopback_server/persistent_unique_client_entity.cc b/components/sync/engine_impl/loopback_server/persistent_unique_client_entity.cc
index 402d817dc4bb8a2a0429c9880a2204d64825ff92..41f14dcd49ad38c650ad064dee0e809b1faae120 100644
--- a/components/sync/engine_impl/loopback_server/persistent_unique_client_entity.cc
+++ b/components/sync/engine_impl/loopback_server/persistent_unique_client_entity.cc
@@ -40,9 +40,8 @@ PersistentUniqueClientEntity::~PersistentUniqueClientEntity() {}
// static
std::unique_ptr<LoopbackServerEntity> PersistentUniqueClientEntity::Create(
const sync_pb::SyncEntity& client_entity) {
- CHECK(client_entity.has_client_defined_unique_tag())
- << "A PersistentUniqueClientEntity must have a client-defined unique "
- "tag.";
+ // A PersistentUniqueClientEntity must have a client-defined unique tag.
+ CHECK(client_entity.has_client_defined_unique_tag());
ModelType model_type = GetModelTypeFromSpecifics(client_entity.specifics());
string id = EffectiveIdForClientTaggedEntity(client_entity);
return std::unique_ptr<LoopbackServerEntity>(new PersistentUniqueClientEntity(

Powered by Google App Engine
This is Rietveld 408576698