Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1868)

Unified Diff: tools/perf/page_sets/key_mobile_sites_repaint.py

Issue 1198823004: Update perf page_set to use story_set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/page_sets/key_mobile_sites_pages.py ('k') | tools/perf/page_sets/key_mobile_sites_smooth.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/key_mobile_sites_repaint.py
diff --git a/tools/perf/page_sets/key_mobile_sites_repaint.py b/tools/perf/page_sets/key_mobile_sites_repaint.py
index c9ed95ce0ace77e3841562a2736614879cc974bf..b64b8c5fda089850251c73a7662ad2c356322a69 100644
--- a/tools/perf/page_sets/key_mobile_sites_repaint.py
+++ b/tools/perf/page_sets/key_mobile_sites_repaint.py
@@ -1,13 +1,11 @@
# Copyright 2014 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.
-from telemetry.page import shared_page_state
-from telemetry.page import page as page_module
-from telemetry.page import page_set as page_set_module
-
from page_sets import key_mobile_sites_pages
from page_sets import repaint_helpers
-
+from telemetry import story
+from telemetry.page import page as page_module
+from telemetry.page import shared_page_state
def _CreatePageClassWithRepaintInteractions(page_cls, mode, height, width):
@@ -37,14 +35,14 @@ class KeyMobileSitesRepaintPage(page_module.Page):
action_runner, mode=self._mode, width=self._width, height=self._height)
-class KeyMobileSitesRepaintPageSet(page_set_module.PageSet):
+class KeyMobileSitesRepaintPageSet(story.StorySet):
""" Key mobile sites with repaint interactions. """
def __init__(self, mode='viewport', width=None, height=None):
super(KeyMobileSitesRepaintPageSet, self).__init__(
archive_data_file='data/key_mobile_sites_repaint.json',
- bucket=page_set_module.PARTNER_BUCKET)
+ cloud_storage_bucket=story.PARTNER_BUCKET)
# Add pages with predefined classes that contain custom navigation logic.
« no previous file with comments | « tools/perf/page_sets/key_mobile_sites_pages.py ('k') | tools/perf/page_sets/key_mobile_sites_smooth.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698