| 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 ec8247876aa33ff749f6510a7642cd5d2c55cddc..e0bc84b54fb82014e8441ed6e747fbbea9f39403 100644
|
| --- a/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
|
| +++ b/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
|
| @@ -274,6 +274,23 @@ class ChromeProxyExpDirective(ChromeProxyValidation):
|
| def AddResults(self, tab, results):
|
| self._metrics.AddResultsForBypass(tab, results, url_pattern='/exptest/')
|
|
|
| +class ChromeProxyPassThrough(ChromeProxyValidation):
|
| + """Correctness measurement for Chrome-Proxy pass-through directives.
|
| +
|
| + This test verifies that "pass-through" in the Chrome-Proxy request header
|
| + causes a resource to be loaded without Data Reduction Proxy transformations.
|
| + """
|
| +
|
| + def __init__(self):
|
| + super(ChromeProxyPassThrough, self).__init__(
|
| + restart_after_each_page=True,
|
| + metrics=metrics.ChromeProxyMetric())
|
| +
|
| + def CustomizeBrowserOptions(self, options):
|
| + super(ChromeProxyPassThrough, self).CustomizeBrowserOptions(options)
|
| +
|
| + def AddResults(self, tab, results):
|
| + self._metrics.AddResultsForPassThrough(tab, results)
|
|
|
| class ChromeProxyHTTPToDirectFallback(ChromeProxyValidation):
|
| """Correctness measurement for HTTP proxy fallback to direct."""
|
|
|