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

Side by Side Diff: tools/telemetry/telemetry/inspector_timeline.py

Issue 12294002: Revert 182991 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 from telemetry.timeline_event import TimelineEvent 4 from telemetry.timeline_event import TimelineEvent
5 from telemetry.timeline_model import TimelineModel 5 from telemetry.timeline_model import TimelineModel
6 6
7 class TabBackendException(Exception): 7 class TabBackendException(Exception):
8 pass 8 pass
9 9
10 class InspectorTimeline(object): 10 class InspectorTimeline(object):
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 parent_for_children = newly_created_event 112 parent_for_children = newly_created_event
113 else: 113 else:
114 parent_for_children = parent_for_created_events 114 parent_for_children = parent_for_created_events
115 for child in raw_inspector_event.get('children', []): 115 for child in raw_inspector_event.get('children', []):
116 InspectorTimeline._RawEventToTimelineEventRecursive( 116 InspectorTimeline._RawEventToTimelineEventRecursive(
117 parent_for_children, child) 117 parent_for_children, child)
118 return newly_created_event 118 return newly_created_event
119 119
120 def _OnClose(self): 120 def _OnClose(self):
121 pass 121 pass
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/inspector_runtime_unittest.py ('k') | tools/telemetry/telemetry/inspector_timeline_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698