Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/fallback_viaheader.py

Issue 397483002: Move chrome_proxy tests from under tools/perf to tools/chrome_proxy/integration_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments and sync'ed Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4
4 from telemetry.page import page as page_module 5 from telemetry.page import page as page_module
5 from telemetry.page import page_set as page_set_module 6 from telemetry.page import page_set as page_set_module
6 7
7 8
8 class FallbackViaHeaderPage(page_module.Page): 9 class FallbackViaHeaderPage(page_module.Page):
9 10
10 def __init__(self, url, page_set): 11 def __init__(self, url, page_set):
11 super(FallbackViaHeaderPage, self).__init__(url=url, page_set=page_set) 12 super(FallbackViaHeaderPage, self).__init__(url=url, page_set=page_set)
12 13
13 14
14 class FallbackViaHeaderPageSet(page_set_module.PageSet): 15 class FallbackViaHeaderPageSet(page_set_module.PageSet):
15 16
16 """ Chrome proxy test sites """ 17 """ Chrome proxy test sites """
17 18
18 def __init__(self): 19 def __init__(self):
19 super(FallbackViaHeaderPageSet, self).__init__() 20 super(FallbackViaHeaderPageSet, self).__init__()
20 21
21 self.AddPage(FallbackViaHeaderPage( 22 self.AddPage(FallbackViaHeaderPage(
22 'http://chromeproxy-test.appspot.com/default', self)) 23 'http://chromeproxy-test.appspot.com/default', self))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698