[refactor] More post-NSS WebCrypto cleanups (utility functions).
[chromium-blink-merge.git] / tools / perf / page_sets / pregenerated_large_profile_shared_state.py
blob6edd1ee97a9520b9dd368df9d75d6ab48519afb9
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 import os
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,
17 'large_profile.zip')
19 self.SetPregeneratedProfileArchiveDir(profile_archive_dir)