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 # pylint: disable=W0401,W0614 | |
5 from telemetry.page.actions.all_page_actions import * | |
6 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
7 from telemetry.page import page_set as page_set_module | 5 from telemetry.page import page_set as page_set_module |
8 | 6 |
9 | 7 |
10 class Top20Page(page_module.Page): | 8 class Top20Page(page_module.Page): |
11 | 9 |
12 def __init__(self, url, page_set, name=''): | 10 def __init__(self, url, page_set, name=''): |
13 super(Top20Page, self).__init__(url=url, page_set=page_set, name=name) | 11 super(Top20Page, self).__init__(url=url, page_set=page_set, name=name) |
14 self.archive_data_file = '../data/chrome_proxy_top_20.json' | 12 self.archive_data_file = '../data/chrome_proxy_top_20.json' |
15 | 13 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 # Why: #1 Alexa reference | 80 # Why: #1 Alexa reference |
83 self.AddPage(Top20Page('http://answers.yahoo.com', self)) | 81 self.AddPage(Top20Page('http://answers.yahoo.com', self)) |
84 | 82 |
85 # Why: #1 Alexa sports | 83 # Why: #1 Alexa sports |
86 self.AddPage(Top20Page('http://sports.yahoo.com/', self)) | 84 self.AddPage(Top20Page('http://sports.yahoo.com/', self)) |
87 | 85 |
88 # Why: top tech blog | 86 # Why: top tech blog |
89 self.AddPage(Top20Page('http://techcrunch.com', self)) | 87 self.AddPage(Top20Page('http://techcrunch.com', self)) |
90 | 88 |
91 self.AddPage(Top20Page('http://www.nytimes.com', self)) | 89 self.AddPage(Top20Page('http://www.nytimes.com', self)) |
OLD | NEW |