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

Unified Diff: tools/telemetry/telemetry/core/discover.py

Issue 311193003: [telemetry] Cleanups for benchmarks importing page sets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove description fo' realz. (from gpu tests) 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/discover.py
diff --git a/tools/telemetry/telemetry/core/discover.py b/tools/telemetry/telemetry/core/discover.py
index d815bdf99c83173c52b15900f03843338ab269dd..9e8118a731fd59e29f834043096b5438750eb694 100644
--- a/tools/telemetry/telemetry/core/discover.py
+++ b/tools/telemetry/telemetry/core/discover.py
@@ -133,15 +133,3 @@ def IsPageSetFile(file_path):
return False
module = util.GetPythonPageSetModule(file_path)
return bool(DiscoverClassesInModule(module, page_set.PageSet))
-
-
-def GetAllPageSetFilenames(dir_path):
- results = []
- for sub_path, _, filenames in os.walk(dir_path):
- for f in filenames:
- if f.startswith('.'):
- continue
- filename = os.path.join(sub_path, f)
- if IsPageSetFile(filename):
- results.append(filename)
- return results
« no previous file with comments | « tools/perf/profile_creators/theme_profile_creator.py ('k') | tools/telemetry/telemetry/page/extensions_profile_creator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698