Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / tools / chrome_proxy / integration_tests / chrome_proxy_pagesets / fallback_viaheader.py
blob8b3dc56acf824120d586f4e3641b37fe91d44db1
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 import story
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 FallbackViaHeaderStorySet(story.StorySet):
16 """ Chrome proxy test sites """
18 def __init__(self):
19 super(FallbackViaHeaderStorySet, 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.AddStory(FallbackViaHeaderPage(url, self))