Index: tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py |
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py b/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py |
index 10ed99b2bb2bc00b0d9459b18406abc0cf3c105a..972e25d08bf7a1b6a50c40b2b09eb0a59ea89c54 100644 |
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py |
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py |
@@ -28,7 +28,7 @@ class ChromeProxyLatency(page_test.PageTest): |
class ChromeProxyDataSaving(page_test.PageTest): |
- """Chrome proxy data daving measurement.""" |
+ """Chrome proxy data saving measurement.""" |
bengr
2015/02/27 23:38:38
:)
megjablon
2015/02/28 00:57:32
Acknowledged.
|
def __init__(self, *args, **kwargs): |
super(ChromeProxyDataSaving, self).__init__(*args, **kwargs) |
self._metrics = metrics.ChromeProxyMetric() |
@@ -287,6 +287,16 @@ class ChromeProxyClientType(ChromeProxyValidation): |
self._page.bypass_for_client_type) |
+class ChromeProxyLoFi(ChromeProxyValidation): |
bengr
2015/02/27 23:38:38
Add a CustomizeBrowserOptions() with the lofi head
megjablon
2015/02/28 00:57:32
Done.
|
+ """Correctness measurement for lo-fi in Chrome-Proxy header.""" |
+ |
+ def __init__(self): |
+ super(ChromeProxyLoFi, self).__init__(restart_after_each_page=True) |
+ |
+ def AddResults(self, tab, results): |
+ self._metrics.AddResultsForLoFi(tab, results) |
+ |
+ |
class ChromeProxyHTTPToDirectFallback(ChromeProxyValidation): |
"""Correctness measurement for HTTP proxy fallback to direct.""" |