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

Unified Diff: tools/metrics/ukm/model.py

Issue 2870033002: Mark PageLoad UKM as singular. (Closed)
Patch Set: Mark PageLoad as singular Created 3 years, 7 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 | tools/metrics/ukm/ukm.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/ukm/model.py
diff --git a/tools/metrics/ukm/model.py b/tools/metrics/ukm/model.py
index f0c7ebeabf2cb1e288a6678ede4a51176773096a..6d95140cebdc537d073cb0f7fa39fe4955f864e5 100644
--- a/tools/metrics/ukm/model.py
+++ b/tools/metrics/ukm/model.py
@@ -28,7 +28,7 @@ _METRIC_TYPE = models.ObjectNodeType(
_EVENT_TYPE = models.ObjectNodeType(
'event',
alphabetization=('metric', _LOWERCASE_NAME_FN),
- attributes=[('name', unicode)],
+ attributes=[('name', unicode), ('singular', bool)],
extra_newlines=(1, 1, 1),
children=[
models.ChildType('obsolete', _OBSOLETE_TYPE, False),
« no previous file with comments | « no previous file | tools/metrics/ukm/ukm.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698