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. """
23 super(IntlArFaHePageSet
, self
).__init
__(
24 archive_data_file
='data/intl_ar_fa_he.json',
25 bucket
=page_set_module
.PARTNER_BUCKET
)
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/'
39 self
.AddUserStory(IntlArFaHePage(url
, self
))