| 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 KeyDesktopSitesPage(page_module.Page): | 10 class KeyDesktopSitesPage(page_module.Page): |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 'document.getElementsByClassName("kix-appview-editor").length') | 103 'document.getElementsByClassName("kix-appview-editor").length') |
| 104 | 104 |
| 105 | 105 |
| 106 class KeyDesktopSitesPageSet(page_set_module.PageSet): | 106 class KeyDesktopSitesPageSet(page_set_module.PageSet): |
| 107 | 107 |
| 108 """ Sites of Interest """ | 108 """ Sites of Interest """ |
| 109 | 109 |
| 110 def __init__(self): | 110 def __init__(self): |
| 111 super(KeyDesktopSitesPageSet, self).__init__( | 111 super(KeyDesktopSitesPageSet, self).__init__( |
| 112 credentials_path='data/credentials.json', | 112 credentials_path='data/credentials.json', |
| 113 archive_data_file='data/key_desktop_sites.json') | 113 archive_data_file='data/key_desktop_sites.json', |
| 114 bucket=page_set_module.PARTNER_BUCKET) |
| 114 | 115 |
| 115 self.AddPage(FacebookPage(self)) | 116 self.AddPage(FacebookPage(self)) |
| 116 self.AddPage(GmailPage(self)) | 117 self.AddPage(GmailPage(self)) |
| 117 self.AddPage(GoogleCalendarPage(self)) | 118 self.AddPage(GoogleCalendarPage(self)) |
| 118 self.AddPage(GoogleDrivePage(self)) | 119 self.AddPage(GoogleDrivePage(self)) |
| 119 self.AddPage(GoogleDocPage(self)) | 120 self.AddPage(GoogleDocPage(self)) |
| 120 | 121 |
| 121 urls_list = [ | 122 urls_list = [ |
| 122 'http://www.google.com/nexus/5/#/', | 123 'http://www.google.com/nexus/5/#/', |
| 123 'http://youtube.com', | 124 'http://youtube.com', |
| (...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 834 '&q=black%20screen%20amd&colspec=ID%20Pri%20Mstone%20ReleaseBlock%20OS' | 835 '&q=black%20screen%20amd&colspec=ID%20Pri%20Mstone%20ReleaseBlock%20OS' |
| 835 '%20Area%20Feature%20Status%20Owner%20Summary'), | 836 '%20Area%20Feature%20Status%20Owner%20Summary'), |
| 836 'http://mlb.mlb.com/index.jsp', | 837 'http://mlb.mlb.com/index.jsp', |
| 837 'http://www.nfl.com/', | 838 'http://www.nfl.com/', |
| 838 'http://airbnb.github.com/infinity/demo-on.html', | 839 'http://airbnb.github.com/infinity/demo-on.html', |
| 839 'http://habrahabr.ru/post/149892/#habracut' | 840 'http://habrahabr.ru/post/149892/#habracut' |
| 840 ] | 841 ] |
| 841 | 842 |
| 842 for url in urls_list: | 843 for url in urls_list: |
| 843 self.AddPage(KeyDesktopSitesPage(url, self)) | 844 self.AddPage(KeyDesktopSitesPage(url, self)) |
| OLD | NEW |