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

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

Issue 332213003: Move telemetry/core/timeline and timeline_data to telemetry/timeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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_data.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome/inspector_timeline_data.py b/tools/telemetry/telemetry/core/backends/chrome/inspector_timeline_data.py
deleted file mode 100644
index 97c3af4559e7512a240fead0f3020d3fe7fc9284..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/core/backends/chrome/inspector_timeline_data.py
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import json
-
-from telemetry.core.timeline_data import TimelineData
-
-class InspectorTimelineData(TimelineData):
- def __init__(self, event_data):
- super(InspectorTimelineData, self).__init__()
- self._event_data = event_data
-
- def Serialize(self, f):
- """Serializes the trace result to a file-like object"""
- f.write('{"traceEvents":')
- json.dump(self._event_data, f)
- f.write('}')
-
- def EventData(self):
- return self._event_data

Powered by Google App Engine
This is Rietveld 408576698