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

Side by Side Diff: tools/perf/page_sets/top_10.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/startup_pages.py ('k') | tools/perf/page_sets/top_10_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 SimpleScrollPage(page_module.Page): 10 class SimpleScrollPage(page_module.Page):
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 action_runner.WaitForElement(text='About') 83 action_runner.WaitForElement(text='About')
84 84
85 85
86 class Top10PageSet(page_set_module.PageSet): 86 class Top10PageSet(page_set_module.PageSet):
87 """10 Pages chosen from Alexa top sites""" 87 """10 Pages chosen from Alexa top sites"""
88 88
89 def __init__(self): 89 def __init__(self):
90 super(Top10PageSet, self).__init__( 90 super(Top10PageSet, self).__init__(
91 archive_data_file='data/top_10.json', 91 archive_data_file='data/top_10.json',
92 credentials_path='data/credentials.json', 92 credentials_path='data/credentials.json',
93 user_agent_type='desktop') 93 user_agent_type='desktop',
94 bucket=page_set_module.PARTNER_BUCKET)
94 95
95 # top google property; a google tab is often open 96 # top google property; a google tab is often open
96 self.AddPage(Google(self)) 97 self.AddPage(Google(self))
97 98
98 # productivity, top google properties 99 # productivity, top google properties
99 self.AddPage(Gmail(self)) 100 self.AddPage(Gmail(self))
100 101
101 # productivity, top google properties 102 # productivity, top google properties
102 self.AddPage(GoogleCalendar(self)) 103 self.AddPage(GoogleCalendar(self))
103 104
(...skipping 11 matching lines...) Expand all
115 self.AddPage(SimpleScrollPage('http://www.amazon.com', self)) 116 self.AddPage(SimpleScrollPage('http://www.amazon.com', self))
116 117
117 # #4 Alexa 118 # #4 Alexa
118 self.AddPage(SimpleScrollPage('http://www.yahoo.com/', self)) 119 self.AddPage(SimpleScrollPage('http://www.yahoo.com/', self))
119 120
120 # #16 Alexa 121 # #16 Alexa
121 self.AddPage(SimpleScrollPage('http://www.bing.com/', self)) 122 self.AddPage(SimpleScrollPage('http://www.bing.com/', self))
122 123
123 # #20 Alexa 124 # #20 Alexa
124 self.AddPage(SimpleScrollPage('http://www.ask.com/', self)) 125 self.AddPage(SimpleScrollPage('http://www.ask.com/', self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/startup_pages.py ('k') | tools/perf/page_sets/top_10_mobile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698