[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / tools / perf / page_sets / topeka.py
blob5227efa97de34d03a45c75489824af9a735531e7
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 from telemetry.page import page_set as page_set_module
7 from measurements import polymer_load
10 class TopekaPage(polymer_load.PageForPolymerLoad):
12 def __init__(self, page_set):
13 super(TopekaPage, self).__init__(
14 url='http://www.polymer-project.org/apps/topeka/?test',
15 ready_event='template-bound',
16 page_set=page_set)
17 self.archive_data_file = 'data/topeka.json'
20 class TopekaPageSet(page_set_module.PageSet):
22 """ Topeka quiz app for the Polymer UI toolkit """
24 def __init__(self):
25 super(TopekaPageSet, self).__init__(
26 user_agent_type='mobile',
27 archive_data_file='data/topeka.json',
28 bucket=page_set_module.INTERNAL_BUCKET)
30 self.AddUserStory(TopekaPage(self))