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

Unified Diff: tools/telemetry/telemetry/core/webpagereplay.py

Issue 595213003: Handle the Web Page Replay related Chrome flags in one place. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handle review comments. Created 6 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
Index: tools/telemetry/telemetry/core/webpagereplay.py
diff --git a/tools/telemetry/telemetry/core/webpagereplay.py b/tools/telemetry/telemetry/core/webpagereplay.py
index 5b45ff654abb69ecbcafbe088a7c628873d50ad6..4088d32ca4b11b72a85cf7aff142f734aa989eed 100644
--- a/tools/telemetry/telemetry/core/webpagereplay.py
+++ b/tools/telemetry/telemetry/core/webpagereplay.py
@@ -26,17 +26,6 @@ LOG_PATH = os.path.join(
_CHROME_SRC_DIR, 'webpagereplay_logs', 'logs.txt')
-# Chrome options to make it work with Web Page Replay.
-def GetChromeFlags(replay_host, http_port, https_port):
- assert replay_host and http_port and https_port, 'All arguments required'
- return [
- '--host-resolver-rules=MAP * %s,EXCLUDE localhost' % replay_host,
- '--testing-fixed-http-port=%s' % http_port,
- '--testing-fixed-https-port=%s' % https_port,
- '--ignore-certificate-errors',
- ]
-
-
# Signal masks on Linux are inherited from parent processes. If anything
# invoking us accidentally masks SIGINT (e.g. by putting a process in the
# background from a shell script), sending a SIGINT to the child will fail

Powered by Google App Engine
This is Rietveld 408576698