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

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

Issue 321863003: Adding cloud permission buckets to pages sets that are part of crbug.com/374764 or already in cloud… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 6 years, 6 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/gmail_refresh.py ('k') | tools/perf/page_sets/intl_es_fr_pt-BR.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 # pylint: disable=W0401,W0614 4 # pylint: disable=W0401,W0614
5 from telemetry.page.actions.all_page_actions import * 5 from telemetry.page.actions.all_page_actions import *
6 from telemetry.page import page as page_module 6 from telemetry.page import page as page_module
7 from telemetry.page import page_set as page_set_module 7 from telemetry.page import page_set as page_set_module
8 8
9 9
10 class IntlArFaHePage(page_module.Page): 10 class IntlArFaHePage(page_module.Page):
11 11
12 def __init__(self, url, page_set): 12 def __init__(self, url, page_set):
13 super(IntlArFaHePage, self).__init__(url=url, page_set=page_set) 13 super(IntlArFaHePage, self).__init__(url=url, page_set=page_set)
14 self.user_agent_type = 'desktop' 14 self.user_agent_type = 'desktop'
15 self.archive_data_file = 'data/intl_ar_fa_he.json' 15 self.archive_data_file = 'data/intl_ar_fa_he.json'
16 16
17 def RunSmoothness(self, action_runner): 17 def RunSmoothness(self, action_runner):
18 action_runner.RunAction(ScrollAction()) 18 action_runner.RunAction(ScrollAction())
19 19
20 20
21 class IntlArFaHePageSet(page_set_module.PageSet): 21 class IntlArFaHePageSet(page_set_module.PageSet):
22 22
23 """ Popular pages in right-to-left languages Arabic, Farsi and Hebrew. """ 23 """ Popular pages in right-to-left languages Arabic, Farsi and Hebrew. """
24 24
25 def __init__(self): 25 def __init__(self):
26 super(IntlArFaHePageSet, self).__init__( 26 super(IntlArFaHePageSet, self).__init__(
27 user_agent_type='desktop', 27 user_agent_type='desktop',
28 archive_data_file='data/intl_ar_fa_he.json') 28 archive_data_file='data/intl_ar_fa_he.json',
29 bucket=page_set_module.PARTNER_BUCKET)
29 30
30 urls_list = [ 31 urls_list = [
31 'http://msn.co.il/', 32 'http://msn.co.il/',
32 'http://ynet.co.il/', 33 'http://ynet.co.il/',
33 'http://www.islamweb.net/', 34 'http://www.islamweb.net/',
34 'http://farsnews.com/', 35 'http://farsnews.com/',
35 'http://www.masrawy.com/', 36 'http://www.masrawy.com/',
36 'http://www.startimes.com/f.aspx', 37 'http://www.startimes.com/f.aspx',
37 'http://www.aljayyash.net/', 38 'http://www.aljayyash.net/',
38 'http://www.google.com.sa/' 39 'http://www.google.com.sa/'
39 ] 40 ]
40 41
41 for url in urls_list: 42 for url in urls_list:
42 self.AddPage(IntlArFaHePage(url, self)) 43 self.AddPage(IntlArFaHePage(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/gmail_refresh.py ('k') | tools/perf/page_sets/intl_es_fr_pt-BR.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698