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

Unified Diff: tools/chrome_proxy/common/inspector_network.py

Issue 2630193002: [tools/chrome_proxy] Update inspector_network data collecting code to trace_data.AddTraceFor (Closed)
Patch Set: Created 3 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/chrome_proxy/common/inspector_network.py
diff --git a/tools/chrome_proxy/common/inspector_network.py b/tools/chrome_proxy/common/inspector_network.py
index af0e39bb68a3cb74f19a54b97980e39837f165e0..8f4d463b588da9e2dcb559aee316178ec2ba049d 100644
--- a/tools/chrome_proxy/common/inspector_network.py
+++ b/tools/chrome_proxy/common/inspector_network.py
@@ -291,5 +291,5 @@ class TimelineRecorder(object):
if len(events) == 0:
return None
builder = trace_data.TraceDataBuilder()
- builder.AddEventsTo(trace_data.INSPECTOR_TRACE_PART, events)
+ builder.AddTraceFor(trace_data.INSPECTOR_TRACE_PART, events)
return model.TimelineModel(builder.AsData(), shift_world_to_zero=False)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698