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

Unified Diff: tools/perf/page_sets/system_health/loading_stories.py

Issue 2888133002: Modify list_system_health_stories to generate_system_health_csv (Closed)
Patch Set: Created 3 years, 7 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/perf/page_sets/system_health/loading_stories.py
diff --git a/tools/perf/page_sets/system_health/loading_stories.py b/tools/perf/page_sets/system_health/loading_stories.py
index b5c99a1cdb8b25581033d34283a3db45b60a9105..67c51cd30c1af1d605e71e268bec3a15caaf614f 100644
--- a/tools/perf/page_sets/system_health/loading_stories.py
+++ b/tools/perf/page_sets/system_health/loading_stories.py
@@ -13,9 +13,15 @@ from telemetry import decorators
class _LoadingStory(system_health_story.SystemHealthStory):
- """Abstract base class for single-page System Health user stories."""
+ """Abstract base class for single-page System Health user stories.
+ """
perezju 2017/05/18 09:52:35 nit: no need to push quotes down if title fits in
nednguyen 2017/05/18 14:02:58 Done.
ABSTRACT_STORY = True
+ @classmethod
+ def GetStoryDescription(cls):
+ if not cls.ABSTRACT_STORY and not cls.__doc__:
+ return 'Load %s' % cls.URL
+
################################################################################
# Search and e-commerce.

Powered by Google App Engine
This is Rietveld 408576698