Support swap promises that are pinned to a particular layer tree.
[chromium-blink-merge.git] / tools / perf / page_sets / intl_ar_fa_he.py
blob9299745e1b1c53c457b2ace2046888eba4539642
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 shared_page_state
6 from telemetry import story
9 class IntlArFaHePage(page_module.Page):
11 def __init__(self, url, page_set):
12 super(IntlArFaHePage, self).__init__(
13 url=url, page_set=page_set,
14 shared_page_state_class=shared_page_state.SharedDesktopPageState)
15 self.archive_data_file = 'data/intl_ar_fa_he.json'
18 class IntlArFaHePageSet(story.StorySet):
20 """ Popular pages in right-to-left languages Arabic, Farsi and Hebrew. """
22 def __init__(self):
23 super(IntlArFaHePageSet, self).__init__(
24 archive_data_file='data/intl_ar_fa_he.json',
25 cloud_storage_bucket=story.PARTNER_BUCKET)
27 urls_list = [
28 'http://msn.co.il/',
29 'http://ynet.co.il/',
30 'http://www.islamweb.net/',
31 'http://farsnews.com/',
32 'http://www.masrawy.com/',
33 'http://www.startimes.com/f.aspx',
34 'http://www.aljayyash.net/',
35 'http://www.google.com.sa/'
38 for url in urls_list:
39 self.AddStory(IntlArFaHePage(url, self))