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

Side by Side Diff: tools/perf/page_sets/blank_page_with_extension_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 4
5 from page_sets import extension_profile_shared_state 5 from page_sets import extension_profile_shared_state
6 from telemetry.page import page as page_module 6 from telemetry.page import page as page_module
7 from telemetry import story 7 from telemetry import story
8 8
9 9
10 class BlankPageWithExtensionProfile(page_module.Page): 10 class BlankPageWithExtensionProfile(page_module.Page):
11 """A single blank page loaded with a profile with many extensions.""" 11 """A single blank page loaded with a profile with many extensions."""
12 12
13 def __init__(self, url, page_set, name): 13 def __init__(self, url, page_set, name):
14 super(BlankPageWithExtensionProfile, self).__init__( 14 super(BlankPageWithExtensionProfile, self).__init__(
15 url=url, page_set=page_set, 15 url=url, page_set=page_set,
16 shared_page_state_class=extension_profile_shared_state. 16 shared_page_state_class=extension_profile_shared_state.
17 ExtensionProfileSharedState, 17 ExtensionProfileSharedState,
18 name=name) 18 name=name)
19 19
20 20
21 class BlankPageSetWithExtensionProfile(story.StorySet): 21 class BlankPageSetWithExtensionProfile(story.StorySet):
22 """PageSet tied to BlankPageWithExtensionProfile.""" 22 """PageSet tied to BlankPageWithExtensionProfile."""
23 23
24 def __init__(self): 24 def __init__(self):
25 super(BlankPageSetWithExtensionProfile, self).__init__(verify_names=True) 25 super(BlankPageSetWithExtensionProfile, self).__init__()
26 self.AddStory(BlankPageWithExtensionProfile( 26 self.AddStory(BlankPageWithExtensionProfile(
27 'file://blank_page/blank_page.html', self, 27 'file://blank_page/blank_page.html', self,
28 'blank_page.html')) 28 'blank_page.html'))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/blank_page.py ('k') | tools/perf/page_sets/blank_page_with_large_profile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698