| Index: tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
|
| diff --git a/tools/perf/measurements/chrome_proxy.py b/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
|
| similarity index 98%
|
| rename from tools/perf/measurements/chrome_proxy.py
|
| rename to tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
|
| index a04df6ab13da63066a0f1ba1ce3f5575fab7fdcb..2471e87cf2a43bc34ea16c704c85d35b36029ff0 100644
|
| --- a/tools/perf/measurements/chrome_proxy.py
|
| +++ b/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
|
| @@ -6,7 +6,7 @@ import base64
|
| import logging
|
| import urlparse
|
|
|
| -from metrics import chrome_proxy
|
| +from integration_tests import chrome_proxy_metrics as metrics
|
| from metrics import loading
|
| from telemetry.core import util
|
| from telemetry.page import page_measurement
|
| @@ -31,7 +31,7 @@ class ChromeProxyDataSaving(page_measurement.PageMeasurement):
|
| """Chrome proxy data daving measurement."""
|
| def __init__(self, *args, **kwargs):
|
| super(ChromeProxyDataSaving, self).__init__(*args, **kwargs)
|
| - self._metrics = chrome_proxy.ChromeProxyMetric()
|
| + self._metrics = metrics.ChromeProxyMetric()
|
|
|
| def WillNavigateToPage(self, page, tab):
|
| tab.ClearCache(force=True)
|
| @@ -50,7 +50,7 @@ class ChromeProxyValidation(page_measurement.PageMeasurement):
|
| def __init__(self, restart_after_each_page=False):
|
| super(ChromeProxyValidation, self).__init__(
|
| needs_browser_restart_after_each_page=restart_after_each_page)
|
| - self._metrics = chrome_proxy.ChromeProxyMetric()
|
| + self._metrics = metrics.ChromeProxyMetric()
|
| self._page = None
|
| # Whether a timeout exception is expected during the test.
|
| self._expect_timeout = False
|
|
|