Re-land: C++ readability review
[chromium-blink-merge.git] / tools / perf / page_sets / intl_ja_zh.py
blobd682622636b9041242f56979b87a1650e2282539
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 IntlJaZhPage(page_module.Page):
10 def __init__(self, url, page_set):
11 super(IntlJaZhPage, self).__init__(url=url, page_set=page_set)
12 self.user_agent_type = 'desktop'
13 self.archive_data_file = 'data/intl_ja_zh.json'
16 class IntlJaZhPageSet(page_set_module.PageSet):
18 """ Popular pages in Japanese and Chinese. """
20 def __init__(self):
21 super(IntlJaZhPageSet, self).__init__(
22 user_agent_type='desktop',
23 archive_data_file='data/intl_ja_zh.json',
24 bucket=page_set_module.PARTNER_BUCKET)
26 urls_list = [
27 # Why: #5 Japanese site
28 'http://www.amazon.co.jp',
29 'http://mixi.jp/',
30 'http://dtiblog.com/',
31 'http://2ch.net/',
32 'http://jugem.jp/',
33 'http://hatena.ne.jp/',
34 'http://goo.ne.jp/',
35 # Why: #1 Japanese site
36 'http://www.yahoo.co.jp/',
37 # Why: #3 Japanese site
38 'http://fc2.com/ja/',
39 'http://kakaku.com/',
40 'http://zol.com.cn/',
41 'http://cn.yahoo.com/',
42 # Why: #1 Chinese site
43 'http://www.baidu.com/s?wd=%D0%C2%20%CE%C5',
44 # Why: #2 Chinese site
45 'http://www.qq.com/',
46 # Why: #3 Chinese site
47 'http://www.taobao.com/index_global.php',
48 # Why: #4 Chinese site
49 'http://www.sina.com.cn/',
50 # Why: #5 Chinese site
51 # pylint: disable=C0301
52 'http://www.google.com.hk/#q=%E9%82%84%E6%8F%90%E4%BE%9B&fp=c44d333e710cb480',
53 'http://udn.com/NEWS/mainpage.shtml',
54 'http://ruten.com.tw/'
57 for url in urls_list:
58 self.AddUserStory(IntlJaZhPage(url, self))