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

Side by Side Diff: tools/perf/page_sets/flash_energy_cases.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 FlashEnergyCasesPage(page_module.Page): 8 class FlashEnergyCasesPage(page_module.Page):
9 9
10 def __init__(self, url, page_set): 10 def __init__(self, url, page_set):
(...skipping 18 matching lines...) Expand all
29 'http://videos.huffingtonpost.com/politics/protesters-march-to-hong-kong -leaders-home-518476075', 29 'http://videos.huffingtonpost.com/politics/protesters-march-to-hong-kong -leaders-home-518476075',
30 'http://nos.nl/video/712855-eerste-beelden-na-de-aanslag-in-canada.html' , 30 'http://nos.nl/video/712855-eerste-beelden-na-de-aanslag-in-canada.html' ,
31 # Why: Large flash ad 31 # Why: Large flash ad
32 'http://forum.gazeta.pl/forum/f,17007,Polityka_i_Gospodarka.html', 32 'http://forum.gazeta.pl/forum/f,17007,Polityka_i_Gospodarka.html',
33 # Why: Multiple flash ads 33 # Why: Multiple flash ads
34 'http://tinypic.com/', 34 'http://tinypic.com/',
35 'https://www.facebook.com/video.php?v=524346051035153&set=vb.13447460002 2302&type=2&theater' 35 'https://www.facebook.com/video.php?v=524346051035153&set=vb.13447460002 2302&type=2&theater'
36 ] 36 ]
37 37
38 for url in urls_list: 38 for url in urls_list:
39 self.AddPage(FlashEnergyCasesPage(url, self)) 39 self.AddUserStory(FlashEnergyCasesPage(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/five_blank_pages.py ('k') | tools/perf/page_sets/garbage_collection_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698