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
10 class PregeneratedLargeProfileSharedState(shared_page_state
.SharedPageState
):
11 def __init__(self
, test
, finder_options
, story_set
):
12 super(PregeneratedLargeProfileSharedState
, self
).__init
__(
13 test
, finder_options
, story_set
)
14 perf_dir
= 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
)