| 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 | 4 from telemetry.page import page |
| 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 import top_pages | 8 from page_sets import top_pages |
| 9 | 9 |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 self.AddStory(top_pages.LinkedinPage(self, shared_desktop_state)) | 32 self.AddStory(top_pages.LinkedinPage(self, shared_desktop_state)) |
| 33 self.AddStory(top_pages.WikipediaPage(self, shared_desktop_state)) | 33 self.AddStory(top_pages.WikipediaPage(self, shared_desktop_state)) |
| 34 self.AddStory(top_pages.TwitterPage(self, shared_desktop_state)) | 34 self.AddStory(top_pages.TwitterPage(self, shared_desktop_state)) |
| 35 self.AddStory(top_pages.PinterestPage(self, shared_desktop_state)) | 35 self.AddStory(top_pages.PinterestPage(self, shared_desktop_state)) |
| 36 self.AddStory(top_pages.ESPNPage(self, shared_desktop_state)) | 36 self.AddStory(top_pages.ESPNPage(self, shared_desktop_state)) |
| 37 self.AddStory(top_pages.WeatherPage(self, shared_desktop_state)) | 37 self.AddStory(top_pages.WeatherPage(self, shared_desktop_state)) |
| 38 self.AddStory(top_pages.YahooGamesPage(self, shared_desktop_state)) | 38 self.AddStory(top_pages.YahooGamesPage(self, shared_desktop_state)) |
| 39 | 39 |
| 40 other_urls = [ | 40 other_urls = [ |
| 41 # Why: #1 news worldwide (Alexa global) | 41 # Why: #1 news worldwide (Alexa global) |
| 42 'http://news.yahoo.com', | 42 # 'http://news.yahoo.com', |
| 43 # Why: #2 news worldwide | 43 # Why: #2 news worldwide |
| 44 # crbug.com/528472 | 44 # crbug.com/528472 |
| 45 #'http://www.cnn.com', | 45 #'http://www.cnn.com', |
| 46 # Why: #1 world commerce website by visits; #3 commerce in the US by | 46 # Why: #1 world commerce website by visits; #3 commerce in the US by |
| 47 # time spent | 47 # time spent |
| 48 'http://www.amazon.com', | 48 # 'http://www.amazon.com', |
| 49 # Why: #1 commerce website by time spent by users in US | 49 # Why: #1 commerce website by time spent by users in US |
| 50 'http://www.ebay.com', | 50 # 'http://www.ebay.com', |
| 51 # Why: #1 Alexa recreation | 51 # Why: #1 Alexa recreation |
| 52 'http://booking.com', | 52 # 'http://booking.com', |
| 53 # Why: #1 Alexa reference | 53 # Why: #1 Alexa reference |
| 54 'http://answers.yahoo.com', | 54 # 'http://answers.yahoo.com', |
| 55 # Why: #1 Alexa sports | 55 # Why: #1 Alexa sports |
| 56 'http://sports.yahoo.com/', | 56 # 'http://sports.yahoo.com/', |
| 57 # Why: top tech blog | 57 # Why: top tech blog |
| 58 'http://techcrunch.com' | 58 # 'http://techcrunch.com' |
| 59 ] | 59 ] |
| 60 | 60 |
| 61 for url in other_urls: | 61 for url in other_urls: |
| 62 self.AddStory( | 62 self.AddStory( |
| 63 page.Page(url, self, shared_page_state_class=shared_desktop_state)) | 63 page.Page(url, self, shared_page_state_class=shared_desktop_state)) |
| OLD | NEW |