Change next_proto member type.
[chromium-blink-merge.git] / tools / perf / page_sets / flash_energy_cases.py
blob1c52f68b004809f667c3ddac2c55f7717e9a67b9
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
3 # found in the LICENSE file.
4 from telemetry.page import page as page_module
5 from telemetry.page import page_set as page_set_module
8 class FlashEnergyCasesPage(page_module.Page):
10 def __init__(self, url, page_set):
11 super(FlashEnergyCasesPage, self).__init__(url=url, page_set=page_set)
12 self.user_agent_type = 'desktop'
13 self.archive_data_file = 'data/flash_energy_cases.json'
16 class FlashEnergyCasesPageSet(page_set_module.PageSet):
18 """ Pages with flash heavy content. """
20 def __init__(self):
21 super(FlashEnergyCasesPageSet, self).__init__(
22 user_agent_type='desktop',
23 archive_data_file='data/flash_energy_cases.json',
24 bucket=page_set_module.PARTNER_BUCKET)
26 urls_list = [
27 # pylint: disable=C0301
28 'http://v.qq.com/cover/d/dm9vn9cnsn2v2gx.html?ptag=v.newplaybutton.program.dpjd',
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',
31 # Why: Large flash ad
32 'http://forum.gazeta.pl/forum/f,17007,Polityka_i_Gospodarka.html',
33 # Why: Multiple flash ads
34 'http://tinypic.com/',
35 'https://www.facebook.com/video.php?v=524346051035153&set=vb.134474600022302&type=2&theater'
38 for url in urls_list:
39 self.AddPage(FlashEnergyCasesPage(url, self))