| 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 fba1d99bfcfbc76684104e6ef6ae5db7cf97576b..d7de479eb9e48ff791049ccba5e90a9ff77b8014 100644
|
| --- a/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
|
| +++ b/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
|
| @@ -294,6 +294,23 @@ class ChromeProxyExpDirective(ChromeProxyValidation):
|
| def AddResults(self, tab, results):
|
| self._metrics.AddResultsForBypass(tab, results)
|
|
|
| +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."""
|
|
|