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

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

Issue 659333004: Added several new bypass telemetry tests for the data reduction proxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Synced repo Created 6 years, 2 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
« no previous file with comments | « tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/explicit_bypass.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
5 from telemetry.page import page as page_module 5 from telemetry.page import page as page_module
6 from telemetry.page import page_set as page_set_module 6 from telemetry.page import page_set as page_set_module
7 7
8 8
9 class BlockOncePage(page_module.Page): 9 class FallbackPage(page_module.Page):
10
11 def __init__(self, url, page_set): 10 def __init__(self, url, page_set):
12 super(BlockOncePage, self).__init__(url=url, page_set=page_set) 11 super(FallbackPage, self).__init__(url=url, page_set=page_set)
13 12
14 13
15 class BlockOncePageSet(page_set_module.PageSet): 14 class FallbackPageSet(page_set_module.PageSet):
16
17 """ Chrome proxy test sites """ 15 """ Chrome proxy test sites """
18
19 def __init__(self): 16 def __init__(self):
20 super(BlockOncePageSet, self).__init__() 17 super(FallbackPageSet, self).__init__()
21 18
22 urls_list = [ 19 urls_list = [
23 'http://check.googlezip.net/blocksingle', 20 'http://check.googlezip.net/fallback',
24 ] 21 ]
25 22
26 for url in urls_list: 23 for url in urls_list:
27 self.AddPage(BlockOncePage(url, self)) 24 self.AddPage(FallbackPage(url, self))
OLDNEW
« no previous file with comments | « tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/explicit_bypass.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698