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

Issue 21406004: [telemetry] Refactoring of telemetry for the webdriver backend to land in. (Closed)

Created:
7 years, 4 months ago by chrisgao (Use stgao instead)
Modified:
7 years, 4 months ago
Reviewers:
dtu
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org, tonyg, nduca
Visibility:
Public.

Description

[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

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address comments from Patch Set 3 of 20672002. #

Total comments: 4

Patch Set 3 : Address comments. #

Patch Set 4 : Delete telemetry/core/chrome/browser_backend.py #

Patch Set 5 : Rebase. #

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

Messages

Total messages: 10 (0 generated)
chrisgao (Use stgao instead)
https://codereview.chromium.org/21406004/diff/1/tools/telemetry/telemetry/core/chrome/browser_backend.py File tools/telemetry/telemetry/core/chrome/browser_backend.py (right): https://codereview.chromium.org/21406004/diff/1/tools/telemetry/telemetry/core/chrome/browser_backend.py#newcode2 tools/telemetry/telemetry/core/chrome/browser_backend.py:2: # Use of this source code is governed by ...
7 years, 4 months ago (2013-07-31 23:53:51 UTC) #1
chrisgao (Use stgao instead)
The first patch was from https://codereview.chromium.org/20672002/. I separate stuff withOUT regard to webdriver backend into ...
7 years, 4 months ago (2013-08-01 00:01:46 UTC) #2
dtu
Sorry, I meant that both core/chrome/ and core/webdriver/ should now go in core/backends/ as core/backends/chrome/ ...
7 years, 4 months ago (2013-08-01 00:14:13 UTC) #3
dtu
lgtm with nits https://codereview.chromium.org/21406004/diff/21001/tools/telemetry/telemetry/core/backends/browser_backend.py File tools/telemetry/telemetry/core/backends/browser_backend.py (right): https://codereview.chromium.org/21406004/diff/21001/tools/telemetry/telemetry/core/backends/browser_backend.py#newcode26 tools/telemetry/telemetry/core/backends/browser_backend.py:26: def CustomizeReplayServerWithOptions(self, options): nit: AddReplayServerOptions https://codereview.chromium.org/21406004/diff/21001/tools/telemetry/telemetry/core/util.py ...
7 years, 4 months ago (2013-08-01 21:23:27 UTC) #4
chrisgao (Use stgao instead)
https://codereview.chromium.org/21406004/diff/21001/tools/telemetry/telemetry/core/backends/browser_backend.py File tools/telemetry/telemetry/core/backends/browser_backend.py (right): https://codereview.chromium.org/21406004/diff/21001/tools/telemetry/telemetry/core/backends/browser_backend.py#newcode26 tools/telemetry/telemetry/core/backends/browser_backend.py:26: def CustomizeReplayServerWithOptions(self, options): On 2013/08/01 21:23:27, Dave Tu wrote: ...
7 years, 4 months ago (2013-08-02 01:00:12 UTC) #5
achuithb
It would be great if you could file a bug for this work item, since ...
7 years, 4 months ago (2013-08-02 01:07:12 UTC) #6
chrisgao (Use stgao instead)
Thanks for the suggestion! crbug.com/267219 was created. On Thu, Aug 1, 2013 at 6:07 PM, ...
7 years, 4 months ago (2013-08-02 01:23:40 UTC) #7
achuithb
On 2013/08/02 01:23:40, chrisgao wrote: > Thanks for the suggestion! > crbug.com/267219 was created. > ...
7 years, 4 months ago (2013-08-02 02:24:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrisgao@chromium.org/21406004/45001
7 years, 4 months ago (2013-08-02 15:22:15 UTC) #9
commit-bot: I haz the power
7 years, 4 months ago (2013-08-02 19:12:43 UTC) #10
Message was sent while issue was closed.
Change committed as 215340

Powered by Google App Engine
This is Rietveld 408576698