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

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

Issue 2941663002: Removing verify_names=True now that the default for verify_names is True (Closed)
Patch Set: Created 3 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 page_sets import pregenerated_large_profile_shared_state 4 from page_sets import pregenerated_large_profile_shared_state
5 from telemetry.page import page as page_module 5 from telemetry.page import page as page_module
6 from telemetry import story 6 from telemetry import story
7 7
8 8
9 class BlankPageWithLargeProfile(page_module.Page): 9 class BlankPageWithLargeProfile(page_module.Page):
10 def __init__(self, url, page_set, name): 10 def __init__(self, url, page_set, name):
11 super(BlankPageWithLargeProfile, self).__init__( 11 super(BlankPageWithLargeProfile, self).__init__(
12 url=url, page_set=page_set, 12 url=url, page_set=page_set,
13 shared_page_state_class=pregenerated_large_profile_shared_state. 13 shared_page_state_class=pregenerated_large_profile_shared_state.
14 PregeneratedLargeProfileSharedState, 14 PregeneratedLargeProfileSharedState,
15 name=name) 15 name=name)
16 16
17 17
18 class BlankPageSetWithLargeProfile(story.StorySet): 18 class BlankPageSetWithLargeProfile(story.StorySet):
19 """A single blank page loaded with a large profile.""" 19 """A single blank page loaded with a large profile."""
20 20
21 def __init__(self): 21 def __init__(self):
22 super(BlankPageSetWithLargeProfile, self).__init__(verify_names=True) 22 super(BlankPageSetWithLargeProfile, self).__init__()
23 self.AddStory(BlankPageWithLargeProfile( 23 self.AddStory(BlankPageWithLargeProfile(
24 'file://blank_page/blank_page.html', self, 24 'file://blank_page/blank_page.html', self,
25 'blank_page.html')) 25 'blank_page.html'))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/blank_page_with_extension_profile.py ('k') | tools/perf/page_sets/blink_memory_mobile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698