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

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

Issue 2941663002: Removing verify_names=True now that the default for verify_names is True (Closed)
Patch Set: 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/top_25_pages.py ('k') | tools/perf/page_sets/tough_ad_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 from telemetry import story 6 from telemetry import story
7 7
8 from page_sets.login_helpers import google_login 8 from page_sets.login_helpers import google_login
9 from page_sets import top_pages 9 from page_sets import top_pages
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 action_runner.ScrollPage(left_start_ratio=0.1) 107 action_runner.ScrollPage(left_start_ratio=0.1)
108 108
109 109
110 class Top25SmoothPageSet(story.StorySet): 110 class Top25SmoothPageSet(story.StorySet):
111 111
112 """ Pages hand-picked for 2012 CrOS scrolling tuning efforts. """ 112 """ Pages hand-picked for 2012 CrOS scrolling tuning efforts. """
113 113
114 def __init__(self, techcrunch=True): 114 def __init__(self, techcrunch=True):
115 super(Top25SmoothPageSet, self).__init__( 115 super(Top25SmoothPageSet, self).__init__(
116 archive_data_file='data/top_25_smooth.json', 116 archive_data_file='data/top_25_smooth.json',
117 cloud_storage_bucket=story.PARTNER_BUCKET, 117 cloud_storage_bucket=story.PARTNER_BUCKET)
118 verify_names=True)
119 118
120 desktop_state_class = shared_page_state.SharedDesktopPageState 119 desktop_state_class = shared_page_state.SharedDesktopPageState
121 120
122 self.AddStory(_CreatePageClassWithSmoothInteractions( 121 self.AddStory(_CreatePageClassWithSmoothInteractions(
123 top_pages.GoogleWebSearchPage)(self, desktop_state_class)) 122 top_pages.GoogleWebSearchPage)(self, desktop_state_class))
124 self.AddStory(GmailSmoothPage(self, desktop_state_class)) 123 self.AddStory(GmailSmoothPage(self, desktop_state_class))
125 self.AddStory(GoogleCalendarSmoothPage(self, desktop_state_class)) 124 self.AddStory(GoogleCalendarSmoothPage(self, desktop_state_class))
126 self.AddStory(_CreatePageClassWithSmoothInteractions( 125 self.AddStory(_CreatePageClassWithSmoothInteractions(
127 top_pages.GoogleImageSearchPage)(self, desktop_state_class)) 126 top_pages.GoogleImageSearchPage)(self, desktop_state_class))
128 self.AddStory(GoogleDocSmoothPage(self, desktop_state_class)) 127 self.AddStory(GoogleDocSmoothPage(self, desktop_state_class))
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 # Why: #1 Alexa sports 167 # Why: #1 Alexa sports
169 'http://sports.yahoo.com/', 168 'http://sports.yahoo.com/',
170 ] 169 ]
171 170
172 if techcrunch: 171 if techcrunch:
173 # Why: top tech blog 172 # Why: top tech blog
174 other_urls.append('http://techcrunch.com') 173 other_urls.append('http://techcrunch.com')
175 174
176 for url in other_urls: 175 for url in other_urls:
177 self.AddStory(TopSmoothPage(url, self)) 176 self.AddStory(TopSmoothPage(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/top_25_pages.py ('k') | tools/perf/page_sets/tough_ad_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698