Extend the enterprise policy for SSL overrides to the "danger" command
[chromium-blink-merge.git] / tools / chrome_proxy / integration_tests / chrome_proxy_pagesets / fallback_viaheader.py
bloba1ec2ca2aab4c963debaefc8ca741ff05b893012
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.
5 from telemetry.page import page as page_module
6 from telemetry.page import page_set as page_set_module
9 class FallbackViaHeaderPage(page_module.Page):
11 def __init__(self, url, page_set):
12 super(FallbackViaHeaderPage, self).__init__(url=url, page_set=page_set)
15 class FallbackViaHeaderPageSet(page_set_module.PageSet):
16 """ Chrome proxy test sites """
18 def __init__(self):
19 super(FallbackViaHeaderPageSet, self).__init__()
21 urls_list = [
22 'http://chromeproxy-test.appspot.com/default?respStatus=200',
23 'http://chromeproxy-test.appspot.com/default?respStatus=413',
26 for url in urls_list:
27 self.AddUserStory(FallbackViaHeaderPage(url, self))