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.
4 from telemetry
.page
import page_set
as page_set_module
5 from measurements
import polymer_load
8 class PicaPage(polymer_load
.PageForPolymerLoad
):
10 def __init__(self
, page_set
):
11 super(PicaPage
, self
).__init
__(
12 url
='http://localhost/polymer/projects/pica/',
14 self
.archive_data_file
= 'data/pica.json'
17 class PicaPageSet(page_set_module
.PageSet
):
19 """ Pica demo app for the Polymer UI toolkit """
22 super(PicaPageSet
, self
).__init
__(
23 archive_data_file
='data/pica.json',
24 bucket
=page_set_module
.INTERNAL_BUCKET
)
26 self
.AddUserStory(PicaPage(self
))