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

Side by Side Diff: tools/perf/page_sets/key_search_mobile.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_ko_th_vi.py ('k') | tools/perf/page_sets/memory_health_story.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 KeySearchMobilePage(page_module.Page): 9 class KeySearchMobilePage(page_module.Page):
10 10
11 def __init__(self, url, page_set): 11 def __init__(self, url, page_set):
12 super(KeySearchMobilePage, self).__init__( 12 super(KeySearchMobilePage, self).__init__(
13 url=url, page_set=page_set, credentials_path = 'data/credentials.json', 13 url=url, page_set=page_set, credentials_path = 'data/credentials.json',
14 shared_page_state_class=shared_page_state.SharedMobilePageState) 14 shared_page_state_class=shared_page_state.SharedMobilePageState)
15 self.archive_data_file = 'data/key_search_mobile.json'
16 15
17 def RunPageInteractions(self, action_runner): 16 def RunPageInteractions(self, action_runner):
18 with action_runner.CreateGestureInteraction('ScrollAction'): 17 with action_runner.CreateGestureInteraction('ScrollAction'):
19 action_runner.ScrollPage() 18 action_runner.ScrollPage()
20 19
21 20
22 class KeySearchMobilePageSet(story.StorySet): 21 class KeySearchMobilePageSet(story.StorySet):
23 22
24 """ Key mobile search queries on google """ 23 """ Key mobile search queries on google """
25 24
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 # Why: Definitions 56 # Why: Definitions
58 'http://www.google.com/search?q=define+define', 57 'http://www.google.com/search?q=define+define',
59 # Why: Local results 58 # Why: Local results
60 'https://www.google.com/search?q=burritos+94110', 59 'https://www.google.com/search?q=burritos+94110',
61 # Why: Graph 60 # Why: Graph
62 'http://www.google.com/search?q=x^3' 61 'http://www.google.com/search?q=x^3'
63 ] 62 ]
64 63
65 for url in urls_list: 64 for url in urls_list:
66 self.AddStory(KeySearchMobilePage(url, self)) 65 self.AddStory(KeySearchMobilePage(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/intl_ko_th_vi.py ('k') | tools/perf/page_sets/memory_health_story.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698