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 """
19 super(FallbackViaHeaderStorySet
, self
).__init
__()
22 'http://chromeproxy-test.appspot.com/default?respStatus=200',
23 'http://chromeproxy-test.appspot.com/default?respStatus=413',
27 self
.AddStory(FallbackViaHeaderPage(url
, self
))