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..0c4548b4ecff7574ded007a647811297b7009555 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 ChromeProxyBlockSingle(ChromeProxyValidation): |
+ """Correctness measurement for block_single responses.""" |
+ |
+ def __init__(self): |
+ super(ChromeProxyBlockSingle, self).__init__(restart_after_each_page=True) |
+ |
+ def AddResults(self, tab, results): |
+ self._metrics.AddResultsForBlockSingle(tab, results) |
+ |
+ |
class ChromeProxySafebrowsing(ChromeProxyValidation): |
"""Correctness measurement for safebrowsing.""" |