|
[telemetry] Refactoring of telemetry for the webdriver backend to land in.
1. Create telemetry.core.backends.browser_backend that can be shared by both chrome and webdriver.
2. Move telemetry.core.chrome.browser_backend to telemetry.core.backends.chrome.chrome_browser_backend.
3. Move DoNothingForwarder to telemetry.core.backends.browser_backend.
4. Add CreatePlatformBackendForCurrentOS to telemetry/core/platform/__init__.py
5. Add a hook browser_backend.AddReplayServerOptions.
6. Override webpagereplay.ReplayServer._AddDefaultReplayOptions because '--no-dns_forwarding' is added by default in webpagereplay.ReplayServer while webdriver-based backends need dns forwarding.
BUG= 267219
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215340
Total comments: 1
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+152 lines, -361 lines) |
Patch |
 |
A + |
tools/telemetry/telemetry/core/backends/__init__.py
|
View
|
1
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
tools/telemetry/telemetry/core/backends/browser_backend.py
|
View
|
1
2
3
4
|
1 chunk |
+96 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
tools/telemetry/telemetry/core/backends/chrome/__init__.py
|
View
|
1
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py
|
View
|
1
2
3
4
|
5 chunks |
+15 lines, -67 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/browser.py
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/chrome/android_browser_backend.py
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
D |
tools/telemetry/telemetry/core/chrome/browser_backend.py
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -275 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/chrome/cros_browser_backend.py
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/chrome/desktop_browser_backend.py
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/chrome/desktop_browser_finder.py
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -13 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/platform/__init__.py
|
View
|
1
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/wpr_server.py
|
View
|
1
2
|
2 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|