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

Unified Diff: tools/telemetry/telemetry/core/timeline/empty_timeline_data_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/empty_timeline_data_importer.py
diff --git a/tools/telemetry/telemetry/core/timeline/empty_timeline_data_importer.py b/tools/telemetry/telemetry/core/timeline/empty_timeline_data_importer.py
deleted file mode 100644
index a7c5b4d66392c282723c4a79cfb2c0d2edcfa032..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/core/timeline/empty_timeline_data_importer.py
+++ /dev/null
@@ -1,27 +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.
-
-from telemetry.core.timeline_data import TimelineData
-
-class EmptyTimelineDataImporter(object):
- """Imports empty TimlineData objects."""
- def __init__(self, model, timeline_data, import_priority=0):
- pass
-
- @staticmethod
- def CanImport(timeline_data):
- if not isinstance(timeline_data, TimelineData):
- return False
- event_data = timeline_data.EventData()
- if isinstance(event_data, list):
- return len(event_data) == 0
- elif isinstance(event_data, basestring):
- return len(event_data) == 0
- return False
-
- def ImportEvents(self):
- pass
-
- def FinalizeImport(self):
- pass

Powered by Google App Engine
This is Rietveld 408576698