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 BlockOncePage(page_module.Page):
     10 
     11   def __init__(self, url, page_set):
     12     super(BlockOncePage, self).__init__(url=url, page_set=page_set)
     13 
     14 
     15 class BlockOncePageSet(page_set_module.PageSet):
     16 
     17   """ Chrome proxy test sites """
     18 
     19   def __init__(self):
     20     super(BlockOncePageSet, self).__init__()
     21 
     22     urls_list = [
     23       'http://check.googlezip.net/blocksingle',
     24     ]
     25 
     26     for url in urls_list:
     27       self.AddPage(BlockOncePage(url, self))
     28