| Index: tools/perf/profile_creators/extensions_profile_creator.py
|
| diff --git a/tools/telemetry/telemetry/page/extensions_profile_creator.py b/tools/perf/profile_creators/extensions_profile_creator.py
|
| similarity index 97%
|
| rename from tools/telemetry/telemetry/page/extensions_profile_creator.py
|
| rename to tools/perf/profile_creators/extensions_profile_creator.py
|
| index 2ea15bd3e6909fdc87d53493bd494adcad1fc29b..1560c10d90ef8e2e28c6728bcd6e7e1f47826cab 100644
|
| --- a/tools/telemetry/telemetry/page/extensions_profile_creator.py
|
| +++ b/tools/perf/profile_creators/extensions_profile_creator.py
|
| @@ -1,6 +1,7 @@
|
| # Copyright 2013 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
| +
|
| import json
|
| import logging
|
| import os
|
| @@ -13,10 +14,10 @@ import time
|
| import urllib2
|
| import zipfile
|
|
|
| -from telemetry.core import util
|
| -from telemetry.page import page_set
|
| from telemetry.page import profile_creator
|
|
|
| +import page_sets
|
| +
|
|
|
| def _ExternalExtensionsPath():
|
| """Returns the OS-dependent path at which to install the extension deployment
|
| @@ -84,8 +85,7 @@ class ExtensionsProfileCreator(profile_creator.ProfileCreator):
|
|
|
| def __init__(self):
|
| super(ExtensionsProfileCreator, self).__init__()
|
| - typical_25 = os.path.join(util.GetBaseDir(), 'page_sets', 'typical_25.py')
|
| - self._page_set = page_set.PageSet.FromFile(typical_25)
|
| + self._page_set = page_sets.Typical25()
|
|
|
| # Directory into which the output profile is written.
|
| self._output_profile_path = None
|
|
|