[refactor] More post-NSS WebCrypto cleanups (utility functions).
[chromium-blink-merge.git] / tools / perf / page_sets / intl_ko_th_vi.py
blob7780cb64285edc0fd6af4ee0c66e3ca1d5c84e46
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 IntlKoThViPage(page_module.Page):
11 def __init__(self, url, page_set):
12 super(IntlKoThViPage, 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_ko_th_vi.json'
18 class IntlKoThViPageSet(story.StorySet):
20 """ Popular pages in Korean, Thai and Vietnamese. """
22 def __init__(self):
23 super(IntlKoThViPageSet, self).__init__(
24 archive_data_file='data/intl_ko_th_vi.json',
25 cloud_storage_bucket=story.PARTNER_BUCKET)
27 urls_list = [
28 # Why: #7 site in Vietnam
29 'http://us.24h.com.vn/',
30 # Why: #6 site in Vietnam
31 'http://vnexpress.net/',
32 # Why: #18 site in Vietnam
33 'http://vietnamnet.vn/',
34 # Why: #5 site in Vietnam
35 # pylint: disable=C0301
36 'http://news.zing.vn/the-gioi/ba-dam-thep-margaret-thatcher-qua-doi/a312895.html#home_noibat1',
37 'http://kenh14.vn/home.chn',
38 # Why: #5 site in Korea
39 'http://www.naver.com/',
40 # Why: #9 site in Korea
41 'http://www.daum.net/',
42 # Why: #25 site in Korea
43 'http://www.donga.com/',
44 'http://www.chosun.com/',
45 'http://www.danawa.com/',
46 # Why: #10 site in Thailand
47 'http://pantip.com/',
48 'http://thaimisc.com/'
51 for url in urls_list:
52 self.AddStory(IntlKoThViPage(url, self))