• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5from telemetry.page import page as page_module
6from telemetry.page import page_set as page_set_module
7
8
9class BypassPage(page_module.Page):
10
11  def __init__(self, url, page_set):
12    super(BypassPage, self).__init__(url=url, page_set=page_set)
13    self.archive_data_file = '../data/chrome_proxy_bypass.json'
14
15
16class BypassPageSet(page_set_module.PageSet):
17
18  """ Chrome proxy test sites """
19
20  def __init__(self):
21    super(BypassPageSet, self).__init__(
22      archive_data_file='../data/chrome_proxy_bypass.json')
23
24    urls_list = [
25      'http://aws1.mdw.la/bypass/',
26    ]
27
28    for url in urls_list:
29      self.AddPage(BypassPage(url, self))
30