Home | History | Annotate | Download | only in chrome_proxy_pagesets
      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
      3 # found in the LICENSE file.
      4 
      5 from telemetry.page import page as page_module
      6 from telemetry.page import page_set as page_set_module
      7 
      8 
      9 class SyntheticPage(page_module.Page):
     10 
     11   def __init__(self, url, page_set):
     12     super(SyntheticPage, self).__init__(url=url, page_set=page_set)
     13     self.archive_data_file = '../data/chrome_proxy_synthetic.json'
     14 
     15 
     16 class SyntheticPageSet(page_set_module.PageSet):
     17 
     18   """ Chrome proxy synthetic test pages. """
     19 
     20   def __init__(self):
     21     super(SyntheticPageSet, self).__init__(
     22       archive_data_file='../data/chrome_proxy_synthetic.json')
     23 
     24     urls_list = [
     25       'http://aws1.mdw.la/fw',
     26       'http://aws1.mdw.la/static'
     27     ]
     28 
     29     for url in urls_list:
     30       self.AddPage(SyntheticPage(url, self))
     31