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

Unified Diff: components/ukm/ukm_entry.cc

Issue 2719823003: Convert first contentful paint logging to the new UKM client API (Closed)
Patch Set: limit to fcp Created 3 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
Index: components/ukm/ukm_entry.cc
diff --git a/components/ukm/ukm_entry.cc b/components/ukm/ukm_entry.cc
index ae2c5843848bff3f138850ab488c491f0ac5e912..6439ae9d6c4b04fe4ce55f28722662e0e19dfdc9 100644
--- a/components/ukm/ukm_entry.cc
+++ b/components/ukm/ukm_entry.cc
@@ -16,7 +16,7 @@ UkmEntry::UkmEntry(const content::GlobalRequestID& source_id,
UkmEntry::~UkmEntry() {}
-void UkmEntry::PopulateProto(Entry* proto_entry) {
+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);

Powered by Google App Engine
This is Rietveld 408576698