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

Issue 656383002: [Telemetry] Move some implementations from android_browser_backend_to android_platform_backend (Closed)

Created:
6 years, 2 months ago by wuhu
Modified:
6 years, 1 month ago
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Code refactoring by moving implementations of the following functionalities from android_browser_backend to android_platform_backend: setting SSL relax flag application profile manipulation setting debug app kill app port forwarding dumping stack trace and standard output BUG=417542 Committed: https://crrev.com/6dd5949ca6ad88981576aa98aed22e8f4590c8aa Cr-Commit-Position: refs/heads/master@{#301668} Committed: https://crrev.com/857bd35e8d5253994d50b4916bf1e766ef0f4330 Cr-Commit-Position: refs/heads/master@{#301899}

Patch Set 1 #

Total comments: 3

Patch Set 2 : update #

Total comments: 14

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : fixed some comments #

Total comments: 3

Patch Set 7 : #

Patch Set 8 : removing test cert related code #

Total comments: 2

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -119 lines) Patch
M tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py View 1 2 3 4 5 6 7 8 10 chunks +33 lines, -112 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend.py View 1 2 3 4 5 6 7 6 chunks +202 lines, -7 lines 0 comments Download

Messages

Total messages: 41 (11 generated)
wuhu
6 years, 2 months ago (2014-10-17 00:49:30 UTC) #2
nednguyen
6 years, 2 months ago (2014-10-17 02:34:53 UTC) #4
nednguyen
With this refactoring, can you add documentation for those functions? Style guide in: https://google-styleguide.googlecode.com/svn/trunk/pyguide.html#Comments https://codereview.chromium.org/656383002/diff/1/tools/telemetry/telemetry/core/platform/android_platform_backend.py ...
6 years, 2 months ago (2014-10-17 03:34:31 UTC) #5
wuhu
https://codereview.chromium.org/656383002/diff/1/tools/telemetry/telemetry/core/platform/android_platform_backend.py File tools/telemetry/telemetry/core/platform/android_platform_backend.py (right): https://codereview.chromium.org/656383002/diff/1/tools/telemetry/telemetry/core/platform/android_platform_backend.py#newcode451 tools/telemetry/telemetry/core/platform/android_platform_backend.py:451: def RemoveProfile(self, package, ignore_list): On 2014/10/17 03:34:31, nednguyen wrote: ...
6 years, 2 months ago (2014-10-17 17:57:40 UTC) #6
slamm
I am excited to see this change. This will be a nice clean-up. I have ...
6 years, 2 months ago (2014-10-17 18:31:06 UTC) #8
wuhu
Thanks Steve for catching those. I've made the corrections except for the two noted below. ...
6 years, 2 months ago (2014-10-17 18:53:39 UTC) #9
slamm
lgtm https://codereview.chromium.org/656383002/diff/20001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py File tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py (right): https://codereview.chromium.org/656383002/diff/20001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py#newcode335 tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py:335: self._android_platform_backend.RemoveTestCa() On 2014/10/17 18:53:39, wuhu wrote: > On ...
6 years, 2 months ago (2014-10-17 20:11:44 UTC) #10
nednguyen
This is sexy. Lgtm Please wait for tony's feedback also. On 2014/10/17 20:11:44, slamm wrote: ...
6 years, 2 months ago (2014-10-17 20:25:04 UTC) #11
nednguyen
https://codereview.chromium.org/656383002/diff/40001/tools/telemetry/telemetry/core/platform/android_platform_backend.py File tools/telemetry/telemetry/core/platform/android_platform_backend.py (right): https://codereview.chromium.org/656383002/diff/40001/tools/telemetry/telemetry/core/platform/android_platform_backend.py#newcode538 tools/telemetry/telemetry/core/platform/android_platform_backend.py:538: def GetStandardOutput(self): Nits: let make number_of_lines a param default ...
6 years, 2 months ago (2014-10-17 20:29:25 UTC) #13
wuhu
On 2014/10/17 20:11:44, slamm wrote: > lgtm > > https://codereview.chromium.org/656383002/diff/20001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py > File tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py > (right): ...
6 years, 2 months ago (2014-10-17 20:29:48 UTC) #14
tonyg
My mental model of platform_backends is that they should only exist to implement the platform ...
6 years, 2 months ago (2014-10-17 21:42:07 UTC) #15
chromium-reviews
I think it doesn't make sense that android_browser_backend is coupled with any platforn other than ...
6 years, 2 months ago (2014-10-17 22:29:19 UTC) #16
nednguyen
On 2014/10/17 22:29:19, chromium-reviews wrote: > I think it doesn't make sense that android_browser_backend is ...
6 years, 2 months ago (2014-10-20 21:06:28 UTC) #19
nednguyen
6 years, 2 months ago (2014-10-21 17:05:22 UTC) #21
nednguyen
On 2014/10/21 17:05:22, nednguyen wrote: PTAL since this is blocking Hubert.
6 years, 2 months ago (2014-10-21 17:05:50 UTC) #22
dtu
On 2014/10/20 21:06:28, nednguyen wrote: > On 2014/10/17 22:29:19, chromium-reviews wrote: > > I think ...
6 years, 1 month ago (2014-10-27 21:26:53 UTC) #23
dtu
https://codereview.chromium.org/656383002/diff/100001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py File tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py (right): https://codereview.chromium.org/656383002/diff/100001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py#newcode167 tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py:167: self._saved_sslflag = self._platform_backend.SetRelaxSslCheck('yes') _android_platform_backend https://codereview.chromium.org/656383002/diff/100001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py#newcode362 tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py:362: return self._android_platform_backend.wpr_ca_cert_path Is ...
6 years, 1 month ago (2014-10-27 21:27:17 UTC) #24
slamm
https://codereview.chromium.org/656383002/diff/100001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py File tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py (right): https://codereview.chromium.org/656383002/diff/100001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py#newcode362 tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py:362: return self._android_platform_backend.wpr_ca_cert_path On 2014/10/27 21:27:17, dtu wrote: > Is ...
6 years, 1 month ago (2014-10-27 21:43:31 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/656383002/120001
6 years, 1 month ago (2014-10-28 17:30:31 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years, 1 month ago (2014-10-28 18:39:59 UTC) #28
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/6dd5949ca6ad88981576aa98aed22e8f4590c8aa Cr-Commit-Position: refs/heads/master@{#301668}
6 years, 1 month ago (2014-10-28 18:40:43 UTC) #29
wuhu
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/678413004/ by wuhu@google.com. ...
6 years, 1 month ago (2014-10-28 20:38:21 UTC) #30
wuhu
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/683313002/ by wuhu@google.com. ...
6 years, 1 month ago (2014-10-28 21:04:28 UTC) #31
wuhu
Ned, I've removed code related to cert, please let me know if it looks good. ...
6 years, 1 month ago (2014-10-28 22:03:55 UTC) #32
nednguyen
LGTM Please make sure that you run most benchmarks on local before checking the CQ ...
6 years, 1 month ago (2014-10-28 23:01:25 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/656383002/160001
6 years, 1 month ago (2014-10-29 16:29:24 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/6470)
6 years, 1 month ago (2014-10-29 17:51:15 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/656383002/160001
6 years, 1 month ago (2014-10-29 18:24:49 UTC) #39
commit-bot: I haz the power
Committed patchset #9 (id:160001)
6 years, 1 month ago (2014-10-29 18:59:40 UTC) #40
commit-bot: I haz the power
6 years, 1 month ago (2014-10-29 19:00:37 UTC) #41
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/857bd35e8d5253994d50b4916bf1e766ef0f4330
Cr-Commit-Position: refs/heads/master@{#301899}

Powered by Google App Engine
This is Rietveld 408576698