Unify Help/Feedback/Credits menus.
[chromium-blink-merge.git] / tools / perf / page_sets / intl_ar_fa_he.py
blob32809a8eabe95bbf6181cc304bf060ef8000b5e2
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
6 from telemetry.page import shared_page_state
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(page_set_module.PageSet):
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 bucket=page_set_module.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.AddUserStory(IntlArFaHePage(url, self))