summaryrefslogtreecommitdiffstats
path: root/tools/perf/page_sets/plugin_power_saver.py
blob: 61a62b09c68d42becda5e9fac5d0f574a5ce417b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright 2015 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
from telemetry.page import page_set


class PluginPowerSaverPageSet(page_set.PageSet):
  def __init__(self):
    super(PluginPowerSaverPageSet, self).__init__(
        archive_data_file='data/plugin_power_saver.json',
        bucket=page_set.PUBLIC_BUCKET)
    self.AddUserStory(page.Page(
        'http://a.tommycli.com/small_only.html',
        page_set=self,
        shared_page_state_class=shared_page_state.SharedDesktopPageState))