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

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

Issue 942863004: Integration test for “lo-fi” mode in Chrome-Proxy request header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
(Empty)
1 # Copyright 2015 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.
4
5 from telemetry.page import page as page_module
6 from telemetry.page import page_set as page_set_module
7
8
9 class LoFiPage(page_module.Page):
10
bengr 2015/02/27 23:38:38 Add a comment.
megjablon 2015/02/28 00:57:33 Done.
11 def __init__(self, url, page_set):
12 super(LoFiPage, self).__init__(url=url, page_set=page_set)
13
14
15 class LoFiPageSet(page_set_module.PageSet):
16
bengr 2015/02/27 23:38:38 Remove blank line.
megjablon 2015/02/28 00:57:33 We have this spacing in all these files. Should I
bengr 2015/03/03 18:20:31 If you'd like to. Not required.
17 """ Chrome proxy test sites """
18
19 def __init__(self):
20 super(LoFiPageSet, self).__init__()
21
22 urls_list = [
23 'http://aws1.mdw.la/fw/buddy.jpg',
24 ]
25
26 for url in urls_list:
27 self.AddUserStory(LoFiPage(url, self))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698