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