| Index: tools/telemetry/telemetry/timeline/importer.py
|
| diff --git a/tools/telemetry/telemetry/timeline/importer.py b/tools/telemetry/telemetry/timeline/importer.py
|
| index c2eca7574bb724dbf5521ad99c4d5e7e8cec4b4e..333ab3367027a55526a8492aaa0715d049c3f0c1 100644
|
| --- a/tools/telemetry/telemetry/timeline/importer.py
|
| +++ b/tools/telemetry/telemetry/timeline/importer.py
|
| @@ -3,17 +3,14 @@
|
| # found in the LICENSE file.
|
|
|
| class TimelineImporter(object):
|
| - """Interface for classes that can add events to
|
| - a timeline model from an TimelineData."""
|
| - def __init__(self, model, timeline_data, import_priority=0):
|
| + """Reads TraceData and populates timeline model with what it finds."""
|
| + def __init__(self, model, trace_data, import_order):
|
| self._model = model
|
| - self._timeline_data = timeline_data
|
| - self.import_priority = import_priority
|
| + self._trace_data = trace_data
|
| + self.import_order = import_order
|
|
|
| @staticmethod
|
| - def CanImport(event_data_wrapper):
|
| - """Returns true if the importer can process the given event data in the
|
| - wrapper."""
|
| + def GetSupportedPart():
|
| raise NotImplementedError
|
|
|
| def ImportEvents(self):
|
|
|