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

Unified Diff: third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py

Issue 2729613008: [instrumentation] Introduce InspectorTraceEvents agent (Closed)
Patch Set: . Created 3 years, 9 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: third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py
diff --git a/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py b/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py
index 7a4cea791a18431f36b886b78da096b4d1573f23..8795f38f5efc3328cde9494f3d1775686498e4e0 100755
--- a/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py
+++ b/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py
@@ -429,6 +429,8 @@ def generate_member_init(param):
def agent_class_name(agent):
if agent == "Performance":
return "PerformanceMonitor"
+ if agent == "Timeline":
+ return "InspectorTraceEvents"
pfeldman 2017/03/06 23:31:24 Just use TraceEvents as a name with no special-cas
alph 2017/03/07 00:57:48 Done.
return "Inspector%sAgent" % agent

Powered by Google App Engine
This is Rietveld 408576698