| 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 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
| 5 from telemetry.page import shared_page_state | 5 from telemetry.page import shared_page_state |
| 6 from telemetry import story | 6 from telemetry import story |
| 7 | 7 |
| 8 | 8 |
| 9 class Typical10MobilePage(page_module.Page): | 9 class Typical10MobilePage(page_module.Page): |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 'http://wapbaike.baidu.com/', | 44 'http://wapbaike.baidu.com/', |
| 45 ] | 45 ] |
| 46 | 46 |
| 47 | 47 |
| 48 class Typical10MobilePageSet(story.StorySet): | 48 class Typical10MobilePageSet(story.StorySet): |
| 49 """10 typical mobile pages, used for power testing.""" | 49 """10 typical mobile pages, used for power testing.""" |
| 50 | 50 |
| 51 def __init__(self): | 51 def __init__(self): |
| 52 super(Typical10MobilePageSet, self).__init__( | 52 super(Typical10MobilePageSet, self).__init__( |
| 53 archive_data_file='data/typical_10_mobile.json', | 53 archive_data_file='data/typical_10_mobile.json', |
| 54 cloud_storage_bucket=story.PARTNER_BUCKET, | 54 cloud_storage_bucket=story.PARTNER_BUCKET) |
| 55 verify_names=True) | |
| 56 | 55 |
| 57 for url in urls_list: | 56 for url in urls_list: |
| 58 self.AddStory(Typical10MobilePage(url, self, name=url)) | 57 self.AddStory(Typical10MobilePage(url, self, name=url)) |
| OLD | NEW |