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

Unified Diff: tools/perf/page_sets/tough_ad_cases.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/top_pages.py ('k') | tools/perf/page_sets/tough_animated_image_cases.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/tough_ad_cases.py
diff --git a/tools/perf/page_sets/tough_ad_cases.py b/tools/perf/page_sets/tough_ad_cases.py
index 3706bfe5f66ef6df531203b4627988e460c15bef..dbc79a256b815d5f1f0c8321bb2e028630649309 100644
--- a/tools/perf/page_sets/tough_ad_cases.py
+++ b/tools/perf/page_sets/tough_ad_cases.py
@@ -2,8 +2,8 @@
# 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 SwiffyPage(page_module.Page):
@@ -31,13 +31,13 @@ class SwiffyPage(page_module.Page):
action_runner.Wait(10)
-class ToughAdCasesPageSet(page_set_module.PageSet):
+class ToughAdCasesPageSet(story.StorySet):
"""Pages for measuring performance with advertising content."""
def __init__(self):
super(ToughAdCasesPageSet, self).__init__(
archive_data_file='data/tough_ad_cases.json',
- bucket=page_set_module.INTERNAL_BUCKET)
+ cloud_storage_bucket=story.INTERNAL_BUCKET)
base_url = 'http://localhost:8000'
« no previous file with comments | « tools/perf/page_sets/top_pages.py ('k') | tools/perf/page_sets/tough_animated_image_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698