| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 |
| 5 import logging | 5 import logging |
| 6 | 6 |
| 7 from page_sets.login_helpers import dropbox_login | 7 from page_sets.login_helpers import dropbox_login |
| 8 from page_sets.login_helpers import google_login | 8 from page_sets.login_helpers import google_login |
| 9 | 9 |
| 10 from telemetry import story | 10 from telemetry import story |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 name='taobao', | 115 name='taobao', |
| 116 url={'desktop': 'https://world.taobao.com/', | 116 url={'desktop': 'https://world.taobao.com/', |
| 117 'mobile': 'http://m.intl.taobao.com/?ali_trackid'}), | 117 'mobile': 'http://m.intl.taobao.com/?ali_trackid'}), |
| 118 _PageSpec( | 118 _PageSpec( |
| 119 name='yandex', | 119 name='yandex', |
| 120 url='https://yandex.ru/touchsearch?text=science'), | 120 url='https://yandex.ru/touchsearch?text=science'), |
| 121 # Redirects to the "http://" version. | 121 # Redirects to the "http://" version. |
| 122 _PageSpec( | 122 _PageSpec( |
| 123 name='ebay', | 123 name='ebay', |
| 124 url='https://www.ebay.com/sch/i.html?_nkw=headphones'), | 124 url='https://www.ebay.com/sch/i.html?_nkw=headphones'), |
| 125 # Using "https://" forces mobile version on desktop. The mobile page | |
| 126 # (https://www.flipkart.com/search?q=nexus+5x) almost always freezes | |
| 127 # due to crbug.com/611390. | |
| 128 _PageSpec( | |
| 129 name='flipkart', | |
| 130 url={'desktop': 'http://www.flipkart.com/search?q=nexus+5x'}), | |
| 131 ], | 125 ], |
| 132 | 126 |
| 133 # Social networks. | 127 # Social networks. |
| 134 'social': [ | 128 'social': [ |
| 135 # Using Facebook login often causes "404 Not Found" with WPR. | 129 # Using Facebook login often causes "404 Not Found" with WPR. |
| 136 _PageSpec( | 130 _PageSpec( |
| 137 name='facebook', | 131 name='facebook', |
| 138 url='https://www.facebook.com/rihanna'), | 132 url='https://www.facebook.com/rihanna'), |
| 139 _PageSpec( | 133 _PageSpec( |
| 140 name='twitter', | 134 name='twitter', |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 | 344 |
| 351 | 345 |
| 352 class DesktopMemorySystemHealthStorySet(_MemorySystemHealthStorySet): | 346 class DesktopMemorySystemHealthStorySet(_MemorySystemHealthStorySet): |
| 353 """Desktop user stories for Chrome Memory System Health Plan.""" | 347 """Desktop user stories for Chrome Memory System Health Plan.""" |
| 354 PLATFORM = 'desktop' | 348 PLATFORM = 'desktop' |
| 355 | 349 |
| 356 | 350 |
| 357 class MobileMemorySystemHealthStorySet(_MemorySystemHealthStorySet): | 351 class MobileMemorySystemHealthStorySet(_MemorySystemHealthStorySet): |
| 358 """Mobile user stories for Chrome Memory System Health Plan.""" | 352 """Mobile user stories for Chrome Memory System Health Plan.""" |
| 359 PLATFORM = 'mobile' | 353 PLATFORM = 'mobile' |
| OLD | NEW |