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

Side by Side Diff: tools/perf/page_sets/intl_es_fr_pt-BR.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/intl_ar_fa_he.py ('k') | tools/perf/page_sets/intl_hi_ru.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 IntlEsFrPtBrPage(page_module.Page): 10 class IntlEsFrPtBrPage(page_module.Page):
11 11
12 def __init__(self, url, page_set): 12 def __init__(self, url, page_set):
13 super(IntlEsFrPtBrPage, self).__init__(url=url, page_set=page_set) 13 super(IntlEsFrPtBrPage, 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_es_fr_pt-BR.json' 15 self.archive_data_file = 'data/intl_es_fr_pt-BR.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 IntlEsFrPtBrPageSet(page_set_module.PageSet): 21 class IntlEsFrPtBrPageSet(page_set_module.PageSet):
22 22
23 """ 23 """
24 Popular pages in Romance languages Spanish, French and Brazilian Portuguese. 24 Popular pages in Romance languages Spanish, French and Brazilian Portuguese.
25 """ 25 """
26 26
27 def __init__(self): 27 def __init__(self):
28 super(IntlEsFrPtBrPageSet, self).__init__( 28 super(IntlEsFrPtBrPageSet, self).__init__(
29 user_agent_type='desktop', 29 user_agent_type='desktop',
30 archive_data_file='data/intl_es_fr_pt-BR.json') 30 archive_data_file='data/intl_es_fr_pt-BR.json',
31 bucket=page_set_module.PARTNER_BUCKET)
31 32
32 urls_list = [ 33 urls_list = [
33 'http://elmundo.es/', 34 'http://elmundo.es/',
34 'http://terra.es/', 35 'http://terra.es/',
35 # pylint: disable=C0301 36 # pylint: disable=C0301
36 'http://www.ebay.es/sch/i.html?_sacat=382&_trkparms=clkid%3D65489713890604 85883&_qi=RTM1381637', 37 'http://www.ebay.es/sch/i.html?_sacat=382&_trkparms=clkid%3D65489713890604 85883&_qi=RTM1381637',
37 'http://www.eltiempo.es/talavera-de-la-reina.html', 38 'http://www.eltiempo.es/talavera-de-la-reina.html',
38 'http://www.free.fr/adsl/index.html', 39 'http://www.free.fr/adsl/index.html',
39 'http://www.voila.fr/', 40 'http://www.voila.fr/',
40 'http://www.leboncoin.fr/annonces/offres/limousin/', 41 'http://www.leboncoin.fr/annonces/offres/limousin/',
41 'http://www.orange.fr/', 42 'http://www.orange.fr/',
42 # Why: #5 site in Brazil 43 # Why: #5 site in Brazil
43 'http://www.uol.com.br/', 44 'http://www.uol.com.br/',
44 # Why: #10 site in Brazil 45 # Why: #10 site in Brazil
45 # pylint: disable=C0301 46 # pylint: disable=C0301
46 'http://produto.mercadolivre.com.br/MLB-468424957-pelicula-protetora-smart phone-h5500-e-h5300-43-frete-free-_JM' 47 'http://produto.mercadolivre.com.br/MLB-468424957-pelicula-protetora-smart phone-h5500-e-h5300-43-frete-free-_JM'
47 ] 48 ]
48 49
49 for url in urls_list: 50 for url in urls_list:
50 self.AddPage(IntlEsFrPtBrPage(url, self)) 51 self.AddPage(IntlEsFrPtBrPage(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/intl_ar_fa_he.py ('k') | tools/perf/page_sets/intl_hi_ru.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698