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

Side by Side Diff: tools/perf/page_sets/plugin_power_saver.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 unified diff | Download patch
« no previous file with comments | « tools/perf/page_sets/pathological_mobile_sites.py ('k') | tools/perf/page_sets/polymer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 from telemetry import story
5 from telemetry.page import page
4 from telemetry.page import shared_page_state 6 from telemetry.page import shared_page_state
5 from telemetry.page import page
6 from telemetry.page import page_set
7 7
8 8
9 class PluginPowerSaverPageSet(page_set.PageSet): 9 class PluginPowerSaverPageSet(story.StorySet):
10 def __init__(self): 10 def __init__(self):
11 super(PluginPowerSaverPageSet, self).__init__( 11 super(PluginPowerSaverPageSet, self).__init__(
12 archive_data_file='data/plugin_power_saver.json', 12 archive_data_file='data/plugin_power_saver.json',
13 bucket=page_set.PUBLIC_BUCKET) 13 cloud_storage_bucket=story.PUBLIC_BUCKET)
14 self.AddUserStory(page.Page( 14 self.AddUserStory(page.Page(
15 'http://a.tommycli.com/small_only.html', 15 'http://a.tommycli.com/small_only.html',
16 page_set=self, 16 page_set=self,
17 shared_page_state_class=shared_page_state.SharedDesktopPageState)) 17 shared_page_state_class=shared_page_state.SharedDesktopPageState))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/pathological_mobile_sites.py ('k') | tools/perf/page_sets/polymer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698