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

Unified Diff: tools/json_schema_compiler/model.py

Issue 12375006: Added UMA stats for extensions events on addListener. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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: tools/json_schema_compiler/model.py
diff --git a/tools/json_schema_compiler/model.py b/tools/json_schema_compiler/model.py
index 3dfc3b2422208d8309d6f65a25e8ff15a1ba5dc9..ee896518be2c28201be07fe3a5dc700db5008e5d 100644
--- a/tools/json_schema_compiler/model.py
+++ b/tools/json_schema_compiler/model.py
@@ -431,6 +431,7 @@ def _GetEvents(parent, json, namespace):
event_json,
namespace,
Origin(from_client=True))
+ event.histogram_name = event_json.get('histogram_name')
events[event.name] = event
return events

Powered by Google App Engine
This is Rietveld 408576698