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

Unified Diff: tools/telemetry/telemetry/internal/platform/profiler/profiler_finder.py

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/internal/platform/profiler/profiler_finder.py
diff --git a/tools/telemetry/telemetry/internal/platform/profiler/profiler_finder.py b/tools/telemetry/telemetry/internal/platform/profiler/profiler_finder.py
deleted file mode 100644
index 33c31e56bd826d4a8c90ed84c1557cc7f5bf195a..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/internal/platform/profiler/profiler_finder.py
+++ /dev/null
@@ -1,28 +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.
-
-import os
-
-from telemetry.core import discover
-from telemetry.internal.platform import profiler
-from telemetry.core import util
-
-
-def _DiscoverProfilers():
- profiler_dir = os.path.dirname(__file__)
- return discover.DiscoverClasses(profiler_dir, util.GetTelemetryDir(),
- profiler.Profiler,
- index_by_class_name=True).values()
-
-
-def FindProfiler(name):
- for p in _DiscoverProfilers():
- if p.name() == name:
- return p
- return None
-
-
-def GetAllAvailableProfilers():
- return sorted([p.name() for p in _DiscoverProfilers()
- if p.is_supported(browser_type='any')])

Powered by Google App Engine
This is Rietveld 408576698