Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: tools/perf/page_sets/intl_ko_th_vi.py

Issue 1767413002: [Telemetry] Cleanup some unused variables in page_sets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/perf/page_sets/intl_ja_zh.py ('k') | tools/perf/page_sets/key_search_mobile.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 from telemetry.page import page as page_module 4 from telemetry.page import page as page_module
5 from telemetry.page import shared_page_state 5 from telemetry.page import shared_page_state
6 from telemetry import story 6 from telemetry import story
7 7
8 8
9 class IntlKoThViPage(page_module.Page): 9 class IntlKoThViPage(page_module.Page):
10 10
11 def __init__(self, url, page_set): 11 def __init__(self, url, page_set):
12 super(IntlKoThViPage, self).__init__( 12 super(IntlKoThViPage, self).__init__(
13 url=url, page_set=page_set, 13 url=url, page_set=page_set,
14 shared_page_state_class=shared_page_state.SharedDesktopPageState) 14 shared_page_state_class=shared_page_state.SharedDesktopPageState)
15 self.archive_data_file = 'data/intl_ko_th_vi.json'
16 15
17 16
18 class IntlKoThViPageSet(story.StorySet): 17 class IntlKoThViPageSet(story.StorySet):
19 18
20 """ Popular pages in Korean, Thai and Vietnamese. """ 19 """ Popular pages in Korean, Thai and Vietnamese. """
21 20
22 def __init__(self): 21 def __init__(self):
23 super(IntlKoThViPageSet, self).__init__( 22 super(IntlKoThViPageSet, self).__init__(
24 archive_data_file='data/intl_ko_th_vi.json', 23 archive_data_file='data/intl_ko_th_vi.json',
25 cloud_storage_bucket=story.PARTNER_BUCKET) 24 cloud_storage_bucket=story.PARTNER_BUCKET)
(...skipping 17 matching lines...) Expand all
43 'http://www.donga.com/', 42 'http://www.donga.com/',
44 'http://www.chosun.com/', 43 'http://www.chosun.com/',
45 'http://www.danawa.com/', 44 'http://www.danawa.com/',
46 # Why: #10 site in Thailand 45 # Why: #10 site in Thailand
47 'http://pantip.com/', 46 'http://pantip.com/',
48 'http://thaimisc.com/' 47 'http://thaimisc.com/'
49 ] 48 ]
50 49
51 for url in urls_list: 50 for url in urls_list:
52 self.AddStory(IntlKoThViPage(url, self)) 51 self.AddStory(IntlKoThViPage(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/intl_ja_zh.py ('k') | tools/perf/page_sets/key_search_mobile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698