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 from page_sets.login_helpers import google_login | 8 from page_sets.login_helpers import google_login |
9 from page_sets import top_pages | 9 from page_sets import top_pages |
10 | 10 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 top_pages.YahooGamesPage)(self, desktop_state_class)) | 150 top_pages.YahooGamesPage)(self, desktop_state_class)) |
151 | 151 |
152 other_urls = [ | 152 other_urls = [ |
153 # Why: #1 news worldwide (Alexa global) | 153 # Why: #1 news worldwide (Alexa global) |
154 'http://news.yahoo.com', | 154 'http://news.yahoo.com', |
155 # Why: #2 news worldwide | 155 # Why: #2 news worldwide |
156 # crbug.com/528474 | 156 # crbug.com/528474 |
157 #'http://www.cnn.com', | 157 #'http://www.cnn.com', |
158 # Why: #1 world commerce website by visits; #3 commerce in the US by | 158 # Why: #1 world commerce website by visits; #3 commerce in the US by |
159 # time spent | 159 # time spent |
160 'http://www.amazon.com', | 160 # crbug.com/667432 |
| 161 #'http://www.amazon.com', |
161 # Why: #1 commerce website by time spent by users in US | 162 # Why: #1 commerce website by time spent by users in US |
162 'http://www.ebay.com', | 163 'http://www.ebay.com', |
163 # Why: #1 Alexa recreation | 164 # Why: #1 Alexa recreation |
164 'http://booking.com', | 165 'http://booking.com', |
165 # Why: #1 Alexa reference | 166 # Why: #1 Alexa reference |
166 'http://answers.yahoo.com', | 167 'http://answers.yahoo.com', |
167 # Why: #1 Alexa sports | 168 # Why: #1 Alexa sports |
168 'http://sports.yahoo.com/', | 169 'http://sports.yahoo.com/', |
169 ] | 170 ] |
170 | 171 |
171 if techcrunch: | 172 if techcrunch: |
172 # Why: top tech blog | 173 # Why: top tech blog |
173 other_urls.append('http://techcrunch.com') | 174 other_urls.append('http://techcrunch.com') |
174 | 175 |
175 for url in other_urls: | 176 for url in other_urls: |
176 self.AddStory(TopSmoothPage(url, self)) | 177 self.AddStory(TopSmoothPage(url, self)) |
OLD | NEW |