OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 from telemetry.page import page |
| 6 from telemetry.page import page_set |
| 7 |
| 8 |
| 9 class ThrottledPluginsPageSet(page_set.PageSet): |
| 10 def __init__(self): |
| 11 super(ThrottledPluginsPageSet, self).__init__( |
| 12 user_agent_type='desktop', |
| 13 archive_data_file='data/throttled_plugins.json', |
| 14 bucket=page_set.PUBLIC_BUCKET) |
| 15 urls_with_throttled_plugins = [ |
| 16 'http://cnn.com', |
| 17 'http://techcrunch.com', |
| 18 'http://wsj.com', |
| 19 'http://youtube.com' |
| 20 ] |
| 21 for url in urls_with_throttled_plugins: |
| 22 self.AddUserStory(page.Page(url, page_set=self)) |
OLD | NEW |