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

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

Issue 799183002: Rename AddPage -> AddUserStory in tools/perf/page_sets/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/intl_ko_th_vi.py ('k') | tools/perf/page_sets/key_hit_test_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 page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
6 6
7 7
8 class KeyDesktopSitesPage(page_module.Page): 8 class KeyDesktopSitesPage(page_module.Page):
9 9
10 def __init__(self, url, page_set): 10 def __init__(self, url, page_set):
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 class KeyDesktopSitesPageSet(page_set_module.PageSet): 116 class KeyDesktopSitesPageSet(page_set_module.PageSet):
117 117
118 """ Sites of Interest """ 118 """ Sites of Interest """
119 119
120 def __init__(self): 120 def __init__(self):
121 super(KeyDesktopSitesPageSet, self).__init__( 121 super(KeyDesktopSitesPageSet, self).__init__(
122 archive_data_file='data/key_desktop_sites.json', 122 archive_data_file='data/key_desktop_sites.json',
123 bucket=page_set_module.PARTNER_BUCKET) 123 bucket=page_set_module.PARTNER_BUCKET)
124 124
125 self.AddPage(FacebookPage(self)) 125 self.AddUserStory(FacebookPage(self))
126 self.AddPage(GmailPage(self)) 126 self.AddUserStory(GmailPage(self))
127 self.AddPage(GoogleCalendarPage(self)) 127 self.AddUserStory(GoogleCalendarPage(self))
128 self.AddPage(GoogleDrivePage(self)) 128 self.AddUserStory(GoogleDrivePage(self))
129 self.AddPage(GoogleDocPage(self)) 129 self.AddUserStory(GoogleDocPage(self))
130 130
131 urls_list = [ 131 urls_list = [
132 'http://www.google.com/nexus/5/#/', 132 'http://www.google.com/nexus/5/#/',
133 'http://youtube.com', 133 'http://youtube.com',
134 'http://twitter.com/nbc', 134 'http://twitter.com/nbc',
135 'http://bbc.co.uk', 135 'http://bbc.co.uk',
136 'http://imdb.com', 136 'http://imdb.com',
137 'http://espn.go.com', 137 'http://espn.go.com',
138 'http://cnn.com', 138 'http://cnn.com',
139 'http://bbc.co.uk/news/', 139 'http://bbc.co.uk/news/',
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 ('http://code.google.com/p/chromium/issues/detail?id=142038' 843 ('http://code.google.com/p/chromium/issues/detail?id=142038'
844 '&q=black%20screen%20amd&colspec=ID%20Pri%20Mstone%20ReleaseBlock%20OS' 844 '&q=black%20screen%20amd&colspec=ID%20Pri%20Mstone%20ReleaseBlock%20OS'
845 '%20Area%20Feature%20Status%20Owner%20Summary'), 845 '%20Area%20Feature%20Status%20Owner%20Summary'),
846 'http://mlb.mlb.com/index.jsp', 846 'http://mlb.mlb.com/index.jsp',
847 'http://www.nfl.com/', 847 'http://www.nfl.com/',
848 'http://airbnb.github.com/infinity/demo-on.html', 848 'http://airbnb.github.com/infinity/demo-on.html',
849 'http://habrahabr.ru/post/149892/#habracut' 849 'http://habrahabr.ru/post/149892/#habracut'
850 ] 850 ]
851 851
852 for url in urls_list: 852 for url in urls_list:
853 self.AddPage(KeyDesktopSitesPage(url, self)) 853 self.AddUserStory(KeyDesktopSitesPage(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/intl_ko_th_vi.py ('k') | tools/perf/page_sets/key_hit_test_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698