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

Issue 472913002: Move ALL_BROWSER_TYPES constant to a FindAllBrowsers() function, so that it doesn't run unnecessari… (Closed)

Created:
6 years, 4 months ago by sullivan
Modified:
6 years, 4 months ago
Reviewers:
dtu, tonyg
CC:
chromium-reviews, telemetry+watch_chromium.org, tonyg
Project:
chromium
Visibility:
Public.

Description

Move ALL_BROWSER_TYPES constant to a FindAllBrowsers() function, so that it doesn't run unnecessarily. This is needed for https://codereview.chromium.org/461043003/, which does an http request to find available browsers. BUG=401180 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289828

Patch Set 1 #

Total comments: 2

Patch Set 2 : Renamed FindAllBrowsers to FindAllBrowserTypes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -47 lines) Patch
M tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py View 1 2 chunks +7 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/cros_browser_finder.py View 1 2 chunks +11 lines, -9 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/desktop_browser_finder.py View 1 3 chunks +17 lines, -14 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/ios_browser_finder.py View 1 2 chunks +4 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/webdriver/webdriver_desktop_browser_finder.py View 1 3 chunks +14 lines, -12 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_finder.py View 1 4 chunks +8 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_options.py View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
sullivan
This gets around code that generates the browser list running at the module level, so ...
6 years, 4 months ago (2014-08-14 15:51:27 UTC) #1
tonyg
lgtm with a comment https://codereview.chromium.org/472913002/diff/1/tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py File tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py (right): https://codereview.chromium.org/472913002/diff/1/tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py#newcode179 tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py:179: def FindAllBrowsers(): FindAllBrowserTypes()? That way ...
6 years, 4 months ago (2014-08-14 15:56:24 UTC) #2
sullivan
https://codereview.chromium.org/472913002/diff/1/tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py File tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py (right): https://codereview.chromium.org/472913002/diff/1/tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py#newcode179 tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py:179: def FindAllBrowsers(): On 2014/08/14 15:56:24, tonyg wrote: > FindAllBrowserTypes()? ...
6 years, 4 months ago (2014-08-14 16:11:39 UTC) #3
sullivan
The CQ bit was checked by sullivan@chromium.org
6 years, 4 months ago (2014-08-14 16:11:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sullivan@chromium.org/472913002/20001
6 years, 4 months ago (2014-08-14 16:12:38 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-14 22:56:10 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-14 23:03:47 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/4404)
6 years, 4 months ago (2014-08-14 23:03:48 UTC) #8
tonyg
The CQ bit was checked by tonyg@chromium.org
6 years, 4 months ago (2014-08-14 23:07:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sullivan@chromium.org/472913002/20001
6 years, 4 months ago (2014-08-14 23:12:13 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-15 05:08:30 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-15 05:21:21 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/6281)
6 years, 4 months ago (2014-08-15 05:21:22 UTC) #13
sullivan
The CQ bit was checked by sullivan@chromium.org
6 years, 4 months ago (2014-08-15 06:52:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sullivan@chromium.org/472913002/20001
6 years, 4 months ago (2014-08-15 06:54:59 UTC) #15
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 09:24:10 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (20001) as 289828

Powered by Google App Engine
This is Rietveld 408576698