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

Unified Diff: tools/telemetry/telemetry/core/backends/chrome/inspector_timeline.py

Issue 441873007: Move timeline and importers to use telemetry.value.TraceValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: tools/telemetry/telemetry/core/backends/chrome/inspector_timeline.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome/inspector_timeline.py b/tools/telemetry/telemetry/core/backends/chrome/inspector_timeline.py
index c4a240a06a7d02210a1cd6ca47e223c51b33281c..0715a9cb111e2f4a500efd1944c4f3ec3f267b20 100644
--- a/tools/telemetry/telemetry/core/backends/chrome/inspector_timeline.py
+++ b/tools/telemetry/telemetry/core/backends/chrome/inspector_timeline.py
@@ -3,7 +3,7 @@
# found in the LICENSE file.
from telemetry.core.backends.chrome import timeline_recorder
-from telemetry.timeline import inspector_timeline_data
+from telemetry.value import trace as trace_value_module
class TabBackendException(Exception):
@@ -75,7 +75,7 @@ class InspectorTimeline(timeline_recorder.TimelineRecorder):
else: # In M38 events will arrive via Timeline.stopped event.
raw_events = self._raw_events
self._raw_events = None
- return inspector_timeline_data.InspectorTimelineData(raw_events)
+ return trace_value_module.TraceValue(raw_events)
def _SendSyncRequest(self, request, timeout=60):
"""Sends a devtools remote debugging protocol request.

Powered by Google App Engine
This is Rietveld 408576698