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 | 4 # pylint: disable=W0401,W0614 |
5 from telemetry.page.actions.all_page_actions import * | 5 from telemetry.page.actions.all_page_actions import * |
6 from telemetry.page import page as page_module | 6 from telemetry.page import page as page_module |
7 from telemetry.page import page_set as page_set_module | 7 from telemetry.page import page_set as page_set_module |
8 | 8 |
9 | 9 |
10 class Top25Page(page_module.Page): | 10 class Top25Page(page_module.Page): |
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 | 562 |
563 | 563 |
564 class Top25PageSet(page_set_module.PageSet): | 564 class Top25PageSet(page_set_module.PageSet): |
565 | 565 |
566 """ Pages hand-picked for 2012 CrOS scrolling tuning efforts. """ | 566 """ Pages hand-picked for 2012 CrOS scrolling tuning efforts. """ |
567 | 567 |
568 def __init__(self): | 568 def __init__(self): |
569 super(Top25PageSet, self).__init__( | 569 super(Top25PageSet, self).__init__( |
570 credentials_path='data/credentials.json', | 570 credentials_path='data/credentials.json', |
571 user_agent_type='desktop', | 571 user_agent_type='desktop', |
572 archive_data_file='data/top_25.json') | 572 archive_data_file='data/top_25.json', |
| 573 bucket=page_set_module.PARTNER_BUCKET) |
573 | 574 |
574 self.AddPage(GoogleWebSearchPage(self)) | 575 self.AddPage(GoogleWebSearchPage(self)) |
575 self.AddPage(GmailPage(self)) | 576 self.AddPage(GmailPage(self)) |
576 self.AddPage(GoogleCalendarPage(self)) | 577 self.AddPage(GoogleCalendarPage(self)) |
577 self.AddPage(GoogleImageSearchPage(self)) | 578 self.AddPage(GoogleImageSearchPage(self)) |
578 self.AddPage(GoogleDocPage(self)) | 579 self.AddPage(GoogleDocPage(self)) |
579 self.AddPage(GooglePlusPage(self)) | 580 self.AddPage(GooglePlusPage(self)) |
580 self.AddPage(YoutubePage(self)) | 581 self.AddPage(YoutubePage(self)) |
581 self.AddPage(BlogspotPage(self)) | 582 self.AddPage(BlogspotPage(self)) |
582 self.AddPage(WordpressPage(self)) | 583 self.AddPage(WordpressPage(self)) |
(...skipping 21 matching lines...) Expand all Loading... |
604 # Why: #1 Alexa reference | 605 # Why: #1 Alexa reference |
605 'http://answers.yahoo.com', | 606 'http://answers.yahoo.com', |
606 # Why: #1 Alexa sports | 607 # Why: #1 Alexa sports |
607 'http://sports.yahoo.com/', | 608 'http://sports.yahoo.com/', |
608 # Why: top tech blog | 609 # Why: top tech blog |
609 'http://techcrunch.com' | 610 'http://techcrunch.com' |
610 ] | 611 ] |
611 | 612 |
612 for url in other_urls: | 613 for url in other_urls: |
613 self.AddPage(Top25Page(url, self)) | 614 self.AddPage(Top25Page(url, self)) |
OLD | NEW |