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 1b38598d35b5d339970b5a19013e2075ef545db8..6c72d3308fb372e27a61e3d5e627f392e3b7fb7a 100644 |
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py |
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py |
@@ -112,6 +112,16 @@ class ChromeProxyBypass(ChromeProxyValidation): |
self._metrics.AddResultsForBypass(tab, results) |
+class ChromeProxyBlockOnce(ChromeProxyValidation): |
+ """Correctness measurement for block-once responses.""" |
+ |
+ def __init__(self): |
+ super(ChromeProxyBlockOnce, self).__init__(restart_after_each_page=True) |
+ |
+ def AddResults(self, tab, results): |
+ self._metrics.AddResultsForBlockOnce(tab, results) |
+ |
+ |
class ChromeProxySafebrowsing(ChromeProxyValidation): |
"""Correctness measurement for safebrowsing.""" |