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

Side by Side Diff: tools/perf/page_sets/key_mobile_sites_pages.py

Issue 2921333002: Explictly setting story names for rasterize_and_record_micro story sets (Closed)
Patch Set: Explictly setting story names for rasterize_and_record_micro story sets Created 3 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 unified diff | Download patch
« no previous file with comments | « tools/perf/page_sets/key_mobile_sites.py ('k') | tools/perf/page_sets/key_silk_cases.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 from telemetry.page import page as page_module 4 from telemetry.page import page as page_module
5 from telemetry.page import shared_page_state 5 from telemetry.page import shared_page_state
6 6
7 7
8 class KeyMobileSitesPage(page_module.Page): 8 class KeyMobileSitesPage(page_module.Page):
9 9
10 def __init__(self, url, page_set, name='', tags=None): 10 def __init__(self, url, page_set, name='', tags=None):
11 if name == '':
12 name = url
11 super(KeyMobileSitesPage, self).__init__( 13 super(KeyMobileSitesPage, self).__init__(
12 url=url, page_set=page_set, name=name, 14 url=url, page_set=page_set, name=name,
13 shared_page_state_class=shared_page_state.SharedMobilePageState, 15 shared_page_state_class=shared_page_state.SharedMobilePageState,
14 credentials_path='data/credentials.json', tags=tags) 16 credentials_path='data/credentials.json', tags=tags)
15 self.archive_data_file = 'data/key_mobile_sites.json' 17 self.archive_data_file = 'data/key_mobile_sites.json'
16 18
17 19
18 class CapitolVolkswagenPage(KeyMobileSitesPage): 20 class CapitolVolkswagenPage(KeyMobileSitesPage):
19 21
20 """ Why: Typical mobile business site """ 22 """ Why: Typical mobile business site """
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 class AmazonNicolasCagePage(KeyMobileSitesPage): 228 class AmazonNicolasCagePage(KeyMobileSitesPage):
227 229
228 """ 230 """
229 Why: #1 world commerce website by visits; #3 commerce in the US by time spent 231 Why: #1 world commerce website by visits; #3 commerce in the US by time spent
230 """ 232 """
231 233
232 def __init__(self, page_set): 234 def __init__(self, page_set):
233 super(AmazonNicolasCagePage, self).__init__( 235 super(AmazonNicolasCagePage, self).__init__(
234 url='http://www.amazon.com/gp/aw/s/ref=is_box_?k=nicolas+cage', 236 url='http://www.amazon.com/gp/aw/s/ref=is_box_?k=nicolas+cage',
235 page_set=page_set) 237 page_set=page_set)
OLDNEW
« no previous file with comments | « tools/perf/page_sets/key_mobile_sites.py ('k') | tools/perf/page_sets/key_silk_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698