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

Unified Diff: tools/telemetry/telemetry/core/timeline/importer.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/timeline/importer.py
diff --git a/tools/telemetry/telemetry/core/timeline/importer.py b/tools/telemetry/telemetry/core/timeline/importer.py
deleted file mode 100644
index 4a82ce53f83d2ea3fa8d6baa1a652f2d961aff5a..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/core/timeline/importer.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 2013 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.
-
-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):
- self._model = model
- self._timeline_data = timeline_data
- self.import_priority = import_priority
-
- @staticmethod
- def CanImport(event_data_wrapper):
- """Returns true if the importer can process the given event data in the
- wrapper."""
- raise NotImplementedError
-
- def ImportEvents(self):
- """Processes the event data in the wrapper and creates and adds
- new timeline events to the model"""
- raise NotImplementedError
-
- def FinalizeImport(self):
- """Called after all other importers for the model are run."""
- raise NotImplementedError
« no previous file with comments | « tools/telemetry/telemetry/core/timeline/flow_event.py ('k') | tools/telemetry/telemetry/core/timeline/inspector_importer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698