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

Side by Side Diff: tools/perf/page_sets/pica.py

Issue 1029263003: [telemetry] Sort imports in Telemetry and its dependents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure we're up to date. Created 5 years, 9 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/maps.py ('k') | tools/perf/page_sets/top_desktop_sites_2012Q3.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 2014 The Chromium Authors. All rights reserved. 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 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
4 from telemetry.page import page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
6
5 from measurements import polymer_load 7 from measurements import polymer_load
6 8
7 9
8 class PicaPage(polymer_load.PageForPolymerLoad): 10 class PicaPage(polymer_load.PageForPolymerLoad):
9 11
10 def __init__(self, page_set): 12 def __init__(self, page_set):
11 super(PicaPage, self).__init__( 13 super(PicaPage, self).__init__(
12 url='http://localhost/polymer/projects/pica/', 14 url='http://localhost/polymer/projects/pica/',
13 page_set=page_set) 15 page_set=page_set)
14 self.archive_data_file = 'data/pica.json' 16 self.archive_data_file = 'data/pica.json'
15 17
16 18
17 class PicaPageSet(page_set_module.PageSet): 19 class PicaPageSet(page_set_module.PageSet):
18 20
19 """ Pica demo app for the Polymer UI toolkit """ 21 """ Pica demo app for the Polymer UI toolkit """
20 22
21 def __init__(self): 23 def __init__(self):
22 super(PicaPageSet, self).__init__( 24 super(PicaPageSet, self).__init__(
23 archive_data_file='data/pica.json', 25 archive_data_file='data/pica.json',
24 bucket=page_set_module.INTERNAL_BUCKET) 26 bucket=page_set_module.INTERNAL_BUCKET)
25 27
26 self.AddUserStory(PicaPage(self)) 28 self.AddUserStory(PicaPage(self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/maps.py ('k') | tools/perf/page_sets/top_desktop_sites_2012Q3.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698