Chromium Code Reviews| 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 7b676e637d775e4ce71f15eca9a4b1d0de4879f5..4681af3091dbe8b003a990ba477606f4f246e62e 100755 |
| --- a/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py |
| +++ b/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py |
| @@ -350,6 +350,8 @@ def generate_param_name(param_type): |
| def agent_class_name(agent): |
| + if agent == "Performance": |
| + return "PerformanceMonitor" |
|
alph
2017/02/24 23:05:53
Let's rename it instead?
pfeldman
2017/02/24 23:53:11
We need to make codegen more flexible.
|
| return "Inspector%sAgent" % agent |
| @@ -363,6 +365,8 @@ def include_header(name): |
| def include_inspector_header(name): |
| + if name == "PerformanceMonitor": |
| + return include_header("core/frame/" + name) |
| return include_header("core/inspector/" + name) |