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."""
21 super(BlankPageSetWithLargeProfile
, self
).__init
__()
22 self
.AddStory(BlankPageWithLargeProfile(
23 'file://blank_page/blank_page.html', self
))