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

Side by Side Diff: tools/perf/page_sets/key_mobile_sites.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/key_desktop_sites.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 # 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 KeyMobileSitesPage(page_module.Page): 10 class KeyMobileSitesPage(page_module.Page):
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 472
473 473
474 class KeyMobileSitesPageSet(page_set_module.PageSet): 474 class KeyMobileSitesPageSet(page_set_module.PageSet):
475 475
476 """ Key mobile sites """ 476 """ Key mobile sites """
477 477
478 def __init__(self): 478 def __init__(self):
479 super(KeyMobileSitesPageSet, self).__init__( 479 super(KeyMobileSitesPageSet, self).__init__(
480 credentials_path='data/credentials.json', 480 credentials_path='data/credentials.json',
481 user_agent_type='mobile', 481 user_agent_type='mobile',
482 archive_data_file='data/key_mobile_sites.json') 482 archive_data_file='data/key_mobile_sites.json',
483 bucket=page_set_module.PARTNER_BUCKET)
483 484
484 self.AddPage(Page1(self)) 485 self.AddPage(Page1(self))
485 self.AddPage(Page2(self)) 486 self.AddPage(Page2(self))
486 self.AddPage(Page3(self)) 487 self.AddPage(Page3(self))
487 self.AddPage(Page4(self)) 488 self.AddPage(Page4(self))
488 self.AddPage(Page5(self)) 489 self.AddPage(Page5(self))
489 self.AddPage(Page6(self)) 490 self.AddPage(Page6(self))
490 self.AddPage(Page7(self)) 491 self.AddPage(Page7(self))
491 self.AddPage(Page8(self)) 492 self.AddPage(Page8(self))
492 self.AddPage(Page9(self)) 493 self.AddPage(Page9(self))
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 'http://www.deviantart.com/', 549 'http://www.deviantart.com/',
549 # Why: Top search engine 550 # Why: Top search engine
550 ('http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&' 551 ('http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&'
551 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'), 552 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'),
552 # Why: Top search engine 553 # Why: Top search engine
553 'http://www.bing.com/search?q=sloths' 554 'http://www.bing.com/search?q=sloths'
554 ] 555 ]
555 556
556 for url in urls_list: 557 for url in urls_list:
557 self.AddPage(KeyMobileSitesPage(url, self)) 558 self.AddPage(KeyMobileSitesPage(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/key_desktop_sites.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