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

Unified Diff: telemetry/telemetry/value/trace.py

Issue 3008223002: Plumb traceUrls through ChartJsonConverter. (Closed)
Patch Set: Created 3 years, 3 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: telemetry/telemetry/value/trace.py
diff --git a/telemetry/telemetry/value/trace.py b/telemetry/telemetry/value/trace.py
index b95b103c05f2cfeacbc99b62f2586cc7fd184d95..9480d4a5ef4a0bbf9012f6c760658389e72e259f 100644
--- a/telemetry/telemetry/value/trace.py
+++ b/telemetry/telemetry/value/trace.py
@@ -121,6 +121,8 @@ class TraceValue(value_module.Value):
d = super(TraceValue, self).AsDict()
if self._serialized_file_handle:
d['file_id'] = self._serialized_file_handle.id
+ if self._file_path:
+ d['file_path'] = self._file_path
if self._cloud_url:
d['cloud_url'] = self._cloud_url
return d
« no previous file with comments | « telemetry/telemetry/internal/results/csv_output_formatter_unittest.py ('k') | tracing/tracing/value/chart_json_converter.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698