Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Unified Diff: tools/android/loading/device_setup.py

Issue 2370213002: tools/android/loading Update webpagereplay module name (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/loading/device_setup.py
diff --git a/tools/android/loading/device_setup.py b/tools/android/loading/device_setup.py
index 9a44652706aae9d3a9ebda75798493ef6535267c..fc22bdcb59e8d7db1f6f76a7ce6dc2752fdff110 100644
--- a/tools/android/loading/device_setup.py
+++ b/tools/android/loading/device_setup.py
@@ -31,7 +31,7 @@ from chrome_telemetry_build import chromium_config
sys.path.append(chromium_config.GetTelemetryDir())
from telemetry.internal.image_processing import video
-from telemetry.internal.util import webpagereplay
+from telemetry.internal.util import wpr_server
sys.path.append(os.path.join(
_CATAPULT_DIR, 'telemetry', 'third_party', 'webpagereplay'))
@@ -216,16 +216,16 @@ def _WprHost(wpr_archive_path, record=False,
os.remove(out_log_path)
# Set up WPR server and device forwarder.
- wpr_server = webpagereplay.ReplayServer(PathWorkaround(wpr_archive_path),
+ server = wpr_server.ReplayServer(PathWorkaround(wpr_archive_path),
'127.0.0.1', 0, 0, None, wpr_server_args)
- http_port, https_port = wpr_server.StartServer()[:-1]
+ http_port, https_port = server.StartServer()[:-1]
logging.info('WPR server listening on HTTP=%s, HTTPS=%s (options=%s)' % (
http_port, https_port, wpr_server_args))
try:
yield http_port, https_port
finally:
- wpr_server.StopServer()
+ server.StopServer()
def _VerifySilentWprHost(record, network_condition_name):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698