OLD | NEW |
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 # pylint: disable=W0401,W0614 | 4 |
5 import logging | 5 import logging |
6 | 6 |
7 from telemetry.page.actions.all_page_actions import * | |
8 from telemetry.page import page as page_module | 7 from telemetry.page import page as page_module |
9 from telemetry.page import page_set as page_set_module | 8 from telemetry.page import page_set as page_set_module |
10 | 9 |
11 | 10 |
12 class MapsPage(page_module.Page): | 11 class MapsPage(page_module.Page): |
13 | 12 |
14 def __init__(self, page_set): | 13 def __init__(self, page_set): |
15 super(MapsPage, self).__init__( | 14 super(MapsPage, self).__init__( |
16 url='http://localhost:10020/tracker.html', | 15 url='http://localhost:10020/tracker.html', |
17 page_set=page_set, | 16 page_set=page_set, |
(...skipping 17 matching lines...) Expand all Loading... |
35 class MapsPageSet(page_set_module.PageSet): | 34 class MapsPageSet(page_set_module.PageSet): |
36 | 35 |
37 """ Google Maps examples """ | 36 """ Google Maps examples """ |
38 | 37 |
39 def __init__(self): | 38 def __init__(self): |
40 super(MapsPageSet, self).__init__( | 39 super(MapsPageSet, self).__init__( |
41 archive_data_file='data/maps.json', | 40 archive_data_file='data/maps.json', |
42 bucket=page_set_module.INTERNAL_BUCKET) | 41 bucket=page_set_module.INTERNAL_BUCKET) |
43 | 42 |
44 self.AddPage(MapsPage(self)) | 43 self.AddPage(MapsPage(self)) |
OLD | NEW |