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 as page_module | 4 from telemetry.page import page as page_module |
5 from telemetry.page import page_set as page_set_module | 5 from telemetry.page import page_set as page_set_module |
6 | 6 |
7 | 7 |
8 class AndroidAcceptancePage(page_module.Page): | 8 class AndroidAcceptancePage(page_module.Page): |
9 | 9 |
10 def __init__(self, url, page_set, name=''): | 10 def __init__(self, url, page_set, name=''): |
(...skipping 17 matching lines...) Expand all Loading... |
28 archive_data_file='data/android_acceptance.json', | 28 archive_data_file='data/android_acceptance.json', |
29 bucket=page_set_module.PARTNER_BUCKET) | 29 bucket=page_set_module.PARTNER_BUCKET) |
30 | 30 |
31 urls_list = [ | 31 urls_list = [ |
32 'http://www.amazon.com', | 32 'http://www.amazon.com', |
33 'http://www.cnn.com', | 33 'http://www.cnn.com', |
34 'http://www.msn.com', | 34 'http://www.msn.com', |
35 ] | 35 ] |
36 | 36 |
37 for url in urls_list: | 37 for url in urls_list: |
38 self.AddPage(AndroidAcceptancePage(url, self)) | 38 self.AddUserStory(AndroidAcceptancePage(url, self)) |
OLD | NEW |