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.
6 from telemetry
.page
import shared_page_state
9 class PregeneratedLargeProfileSharedState(shared_page_state
.SharedPageState
):
10 def __init__(self
, test
, finder_options
, story_set
):
11 super(PregeneratedLargeProfileSharedState
, self
).__init
__(
12 test
, finder_options
, story_set
)
13 perf_dir
= os
.path
.normpath(
14 os
.path
.join(os
.path
.dirname(__file__
), os
.path
.pardir
))
15 profile_archive_dir
= os
.path
.join(
16 perf_dir
, 'generated_profiles', self
._possible
_browser
.target_os
,
19 self
.SetPregeneratedProfileArchiveDir(profile_archive_dir
)