| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 import os | 4 import os |
| 5 | 5 |
| 6 from telemetry.page import shared_page_state | 6 from page_sets import pregenerated_profile_shared_state |
| 7 | 7 |
| 8 | 8 |
| 9 class PregeneratedLargeProfileSharedState(shared_page_state.SharedPageState): | 9 class PregeneratedLargeProfileSharedState( |
| 10 pregenerated_profile_shared_state.PregeneratedProfileSharedState): |
| 10 def __init__(self, test, finder_options, story_set): | 11 def __init__(self, test, finder_options, story_set): |
| 11 super(PregeneratedLargeProfileSharedState, self).__init__( | 12 super(PregeneratedLargeProfileSharedState, self).__init__( |
| 12 test, finder_options, story_set) | 13 test, finder_options, story_set) |
| 13 perf_dir = os.path.normpath( | 14 perf_dir = os.path.normpath( |
| 14 os.path.join(os.path.dirname(__file__), os.path.pardir)) | 15 os.path.join(os.path.dirname(__file__), os.path.pardir)) |
| 15 profile_archive_dir = os.path.join( | 16 self._pregenerated_profile_archive_dir = os.path.join( |
| 16 perf_dir, 'generated_profiles', self._possible_browser.target_os, | 17 perf_dir, 'generated_profiles', self._possible_browser.target_os, |
| 17 'large_profile.zip') | 18 'large_profile.zip') |
| 18 | |
| 19 self.SetPregeneratedProfileArchiveDir(profile_archive_dir) | |
| OLD | NEW |