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 PicaPage(polymer_load
.PageForPolymerLoad
):
12 def __init__(self
, page_set
):
13 super(PicaPage
, self
).__init
__(
14 url
='http://localhost/polymer/projects/pica/',
16 self
.archive_data_file
= 'data/pica.json'
19 class PicaPageSet(page_set_module
.PageSet
):
21 """ Pica demo app for the Polymer UI toolkit """
24 super(PicaPageSet
, self
).__init
__(
25 archive_data_file
='data/pica.json',
26 bucket
=page_set_module
.INTERNAL_BUCKET
)
28 self
.AddUserStory(PicaPage(self
))