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

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

Issue 2713553010: Migrate performance monitor to inspector instrumentation. (Closed)
Patch Set: Introduce progress monitor Created 3 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: 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"
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)

Powered by Google App Engine
This is Rietveld 408576698