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

Side by Side Diff: tools/perf/page_sets/simple_mobile_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
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 SimplePage(page_module.Page): 8 class SimplePage(page_module.Page):
9 9
10 def __init__(self, url, page_set): 10 def __init__(self, url, page_set):
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 scroll_page_list = [ 44 scroll_page_list = [
45 # Why: Scrolls moderately complex pages (up to 60 layers) 45 # Why: Scrolls moderately complex pages (up to 60 layers)
46 'http://www.ebay.co.uk/', 46 'http://www.ebay.co.uk/',
47 'https://www.flickr.com/', 47 'https://www.flickr.com/',
48 'http://www.apple.com/mac/', 48 'http://www.apple.com/mac/',
49 'http://www.nyc.gov', 49 'http://www.nyc.gov',
50 'http://m.nytimes.com/' 50 'http://m.nytimes.com/'
51 ] 51 ]
52 52
53 for url in scroll_page_list: 53 for url in scroll_page_list:
54 self.AddPage(SimpleScrollPage(url, self)) 54 self.AddUserStory(SimpleScrollPage(url, self))
55 55
OLDNEW
« no previous file with comments | « tools/perf/page_sets/service_worker_micro_benchmark.py ('k') | tools/perf/page_sets/startup_pages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698