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

Unified Diff: tools/perf/page_sets/startup_pages.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/simple_mobile_sites_fling.py ('k') | tools/perf/page_sets/startup_pages_record.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/startup_pages.py
diff --git a/tools/perf/page_sets/startup_pages.py b/tools/perf/page_sets/startup_pages.py
index 146e76759e8bda6863f0219fa5ca45bfe5333ad8..f4e527f612db9956bed1a4d898ec7abf06de1a3d 100644
--- a/tools/perf/page_sets/startup_pages.py
+++ b/tools/perf/page_sets/startup_pages.py
@@ -1,8 +1,8 @@
# 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 import story
from telemetry.page import page as page_module
-from telemetry.page import page_set as page_set_module
class StartedPage(page_module.Page):
@@ -19,7 +19,7 @@ class StartedPage(page_module.Page):
self.RunNavigateSteps(action_runner)
-class StartupPagesPageSet(page_set_module.PageSet):
+class StartupPagesPageSet(story.StorySet):
""" Pages for testing starting Chrome with a URL.
Note that this file can't be used with record_wpr, since record_wpr requires
@@ -30,7 +30,7 @@ class StartupPagesPageSet(page_set_module.PageSet):
def __init__(self):
super(StartupPagesPageSet, self).__init__(
archive_data_file='data/startup_pages.json',
- bucket=page_set_module.PARTNER_BUCKET)
+ cloud_storage_bucket=story.PARTNER_BUCKET)
# Typical page.
self.AddUserStory(StartedPage('about:blank', 'about:blank', self))
« no previous file with comments | « tools/perf/page_sets/simple_mobile_sites_fling.py ('k') | tools/perf/page_sets/startup_pages_record.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698