| 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 page_set as page_set_module | 5 from telemetry.page import page_set as page_set_module |
| 6 | 6 |
| 7 | 7 |
| 8 class ToughMemoryMultiTabPage(page_module.Page): | 8 class ToughMemoryMultiTabPage(page_module.Page): |
| 9 | 9 |
| 10 def __init__(self, url, page_set): | 10 def __init__(self, url, page_set): |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 user_agent_type='mobile', | 23 user_agent_type='mobile', |
| 24 archive_data_file='data/key_mobile_sites.json') | 24 archive_data_file='data/key_mobile_sites.json') |
| 25 | 25 |
| 26 urls_list = [ | 26 urls_list = [ |
| 27 'https://www.google.com/#hl=en&q=barack+obama', | 27 'https://www.google.com/#hl=en&q=barack+obama', |
| 28 'http://theverge.com', | 28 'http://theverge.com', |
| 29 'http://techcrunch.com' | 29 'http://techcrunch.com' |
| 30 ] | 30 ] |
| 31 | 31 |
| 32 for url in urls_list: | 32 for url in urls_list: |
| 33 self.AddPage(ToughMemoryMultiTabPage(url, self)) | 33 self.AddUserStory(ToughMemoryMultiTabPage(url, self)) |
| OLD | NEW |