[refactor] More post-NSS WebCrypto cleanups (utility functions).
[chromium-blink-merge.git] / tools / perf / page_sets / blank_page_with_large_profile.py
blob07d348e810299e2f1551b4ea5fef0ec476d09ba3
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
3 # found in the LICENSE file.
4 from page_sets import pregenerated_large_profile_shared_state
5 from telemetry.page import page as page_module
6 from telemetry import story
9 class BlankPageWithLargeProfile(page_module.Page):
10 def __init__(self, url, page_set):
11 super(BlankPageWithLargeProfile, self).__init__(
12 url=url, page_set=page_set,
13 shared_page_state_class=pregenerated_large_profile_shared_state.
14 PregeneratedLargeProfileSharedState)
17 class BlankPageSetWithLargeProfile(story.StorySet):
18 """A single blank page loaded with a large profile."""
20 def __init__(self):
21 super(BlankPageSetWithLargeProfile, self).__init__()
22 self.AddStory(BlankPageWithLargeProfile(
23 'file://blank_page/blank_page.html', self))