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

Unified Diff: components/ukm/ukm_entry.cc

Issue 2855053002: Allow empty UKM entries to be recorded. (Closed)
Patch Set: Fix test Created 3 years, 8 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 | « no previous file | components/ukm/ukm_entry_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ukm/ukm_entry.cc
diff --git a/components/ukm/ukm_entry.cc b/components/ukm/ukm_entry.cc
index 69e61040213fdd0f741008fed92a101c2950e561..88b724c06f6abee81c98dc38a4f0a329a0050b42 100644
--- a/components/ukm/ukm_entry.cc
+++ b/components/ukm/ukm_entry.cc
@@ -18,7 +18,6 @@ UkmEntry::~UkmEntry() {}
void UkmEntry::PopulateProto(Entry* proto_entry) const {
DCHECK(!proto_entry->has_source_id());
DCHECK(!proto_entry->has_event_hash());
- DCHECK(proto_entry->metrics_size() == 0);
proto_entry->set_source_id(source_id_);
proto_entry->set_event_hash(event_hash_);
« no previous file with comments | « no previous file | components/ukm/ukm_entry_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698