| 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 BrowserStartupSharedState(shared_page_state.SharedPageState): | 9 class BrowserStartupSharedState(shared_page_state.SharedPageState): |
| 10 """Shared state that restarts the browser for every single story.""" | 10 """Shared state that restarts the browser for every single story.""" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 def __init__(self): | 47 def __init__(self): |
| 48 super(StartupPagesPageSet, self).__init__( | 48 super(StartupPagesPageSet, self).__init__( |
| 49 archive_data_file='data/startup_pages.json', | 49 archive_data_file='data/startup_pages.json', |
| 50 cloud_storage_bucket=story.PARTNER_BUCKET) | 50 cloud_storage_bucket=story.PARTNER_BUCKET) |
| 51 | 51 |
| 52 # Typical page. | 52 # Typical page. |
| 53 self.AddStory(StartedPage('about:blank', self)) | 53 self.AddStory(StartedPage('about:blank', self)) |
| 54 # Typical page. | 54 # Typical page. |
| 55 self.AddStory(StartedPage('http://bbc.co.uk', self)) | 55 self.AddStory(StartedPage('http://bbc.co.uk', self)) |
| 56 # TODO(charliea): Reenable this when kabook.com is working again. |
| 57 # crbug.com/667470 |
| 56 # Horribly complex page - stress test! | 58 # Horribly complex page - stress test! |
| 57 self.AddStory(StartedPage('http://kapook.com', self)) | 59 # self.AddStory(StartedPage('http://kapook.com', self)) |
| OLD | NEW |