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

Unified Diff: components/ukm/ukm_entry_builder.h

Issue 2824453003: Add a comment clarifying how UkmEntryBuilder::AddMetric works. (Closed)
Patch Set: Remove coupled change 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ukm/ukm_entry_builder.h
diff --git a/components/ukm/ukm_entry_builder.h b/components/ukm/ukm_entry_builder.h
index e2400ee5cb5afe47e7022ad343735a6a0dc58225..5a2284eea186f93f63999038d0bcaa5709ed3aa6 100644
--- a/components/ukm/ukm_entry_builder.h
+++ b/components/ukm/ukm_entry_builder.h
@@ -32,6 +32,8 @@ class UkmService;
class UkmEntryBuilder {
public:
// Add metric to the entry. A metric contains a metric name and value.
+ // Repeated calls with the same metric name will add multiple values,
+ // rather than replace the existing value.
void AddMetric(const char* metric_name, int64_t value);
~UkmEntryBuilder();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698