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

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

Issue 1198823004: Update perf page_set to use story_set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 shared_page_state 5 from telemetry.page import shared_page_state
5 from telemetry.page import page as page_module
6 6
7 7
8 class TopPages(page_module.Page): 8 class TopPages(page_module.Page):
9 9
10 def __init__(self, url, page_set, shared_page_state_class, 10 def __init__(self, url, page_set, shared_page_state_class,
11 name='', credentials=None): 11 name='', credentials=None):
12 super(TopPages, self).__init__( 12 super(TopPages, self).__init__(
13 url=url, page_set=page_set, name=name, 13 url=url, page_set=page_set, name=name,
14 credentials_path='data/credentials.json', 14 credentials_path='data/credentials.json',
15 shared_page_state_class=shared_page_state_class) 15 shared_page_state_class=shared_page_state_class)
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 def __init__(self, page_set, 286 def __init__(self, page_set,
287 shared_page_state_class=shared_page_state.SharedPageState): 287 shared_page_state_class=shared_page_state.SharedPageState):
288 super(YahooGamesPage, self).__init__( 288 super(YahooGamesPage, self).__init__(
289 url='http://games.yahoo.com', 289 url='http://games.yahoo.com',
290 page_set=page_set, 290 page_set=page_set,
291 shared_page_state_class=shared_page_state_class) 291 shared_page_state_class=shared_page_state_class)
292 292
293 def RunNavigateSteps(self, action_runner): 293 def RunNavigateSteps(self, action_runner):
294 super(YahooGamesPage, self).RunNavigateSteps(action_runner) 294 super(YahooGamesPage, self).RunNavigateSteps(action_runner)
295 action_runner.Wait(2) 295 action_runner.Wait(2)
OLDNEW
« no previous file with comments | « tools/perf/page_sets/top_desktop_sites_2012Q3.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