Index: tools/telemetry/telemetry/core/chrome/inspector_timeline.py |
diff --git a/tools/telemetry/telemetry/inspector_timeline.py b/tools/telemetry/telemetry/core/chrome/inspector_timeline.py |
similarity index 94% |
rename from tools/telemetry/telemetry/inspector_timeline.py |
rename to tools/telemetry/telemetry/core/chrome/inspector_timeline.py |
index 633aefced78bd81ffa1f7cd9825e41f6f7c41182..8fc7c723cc3d04c5c7cbec491635e330919b2e6f 100644 |
--- a/tools/telemetry/telemetry/inspector_timeline.py |
+++ b/tools/telemetry/telemetry/core/chrome/inspector_timeline.py |
@@ -1,8 +1,8 @@ |
# Copyright (c) 2012 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. |
-from telemetry.timeline_event import TimelineEvent |
-from telemetry.timeline_model import TimelineModel |
+from telemetry.core.chrome import timeline_event |
+from telemetry.core.chrome import timeline_model |
class TabBackendException(Exception): |
pass |
@@ -33,7 +33,7 @@ class InspectorTimeline(object): |
if self._is_recording: |
return |
self._is_recording = True |
- self._timeline_model = TimelineModel() |
+ self._timeline_model = timeline_model.TimelineModel() |
self._inspector_backend.RegisterDomain('Timeline', |
self._OnNotification, self._OnClose) |
req = {'method': 'Timeline.start'} |
@@ -96,7 +96,7 @@ class InspectorTimeline(object): |
args[x] = raw_inspector_event[x] |
if len(args) == 0: |
args = None |
- newly_created_event = TimelineEvent( |
+ newly_created_event = timeline_event.TimelineEvent( |
name=raw_inspector_event['type'], |
start_time_ms=raw_inspector_event['startTime'], |
duration_ms=(raw_inspector_event['endTime'] - |