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

Issue 19972003: [Telemetry] Default to most recent local build if --browser is omitted. (Closed)

Created:
7 years, 5 months ago by tonyg
Modified:
7 years, 5 months ago
Reviewers:
achuithb, dtu, nduca
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

[Telemetry] Add support for picking a default browser if --browser is omitted. On desktop we default to the most recent local build (if one exists). On CrOS we default to system (if running on device). Also: - Remove --browser=any, I don't think that was ever documented or used. - Clean up user-error messages so they don't dump messy stacks. BUG=261472 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213401

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Move SelectDefaultBrowser to platform finders #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -33 lines) Patch
M tools/telemetry/telemetry/core/browser_finder.py View 1 2 3 3 chunks +25 lines, -24 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_options.py View 1 chunk +0 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/android_browser_finder.py View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/cros_browser_finder.py View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/desktop_browser_finder.py View 1 2 4 chunks +20 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner.py View 1 2 3 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
tonyg
7 years, 5 months ago (2013-07-23 23:42:43 UTC) #1
achuithb
https://codereview.chromium.org/19972003/diff/2001/tools/telemetry/telemetry/core/browser_finder.py File tools/telemetry/telemetry/core/browser_finder.py (right): https://codereview.chromium.org/19972003/diff/2001/tools/telemetry/telemetry/core/browser_finder.py#newcode24 tools/telemetry/telemetry/core/browser_finder.py:24: def _FindMostRecentLocalBrowser(possible_browsers): This function seems like it should be ...
7 years, 5 months ago (2013-07-23 23:58:39 UTC) #2
tonyg
Excellent code review comments! All done. https://codereview.chromium.org/19972003/diff/2001/tools/telemetry/telemetry/core/browser_finder.py File tools/telemetry/telemetry/core/browser_finder.py (right): https://codereview.chromium.org/19972003/diff/2001/tools/telemetry/telemetry/core/browser_finder.py#newcode24 tools/telemetry/telemetry/core/browser_finder.py:24: def _FindMostRecentLocalBrowser(possible_browsers): On ...
7 years, 5 months ago (2013-07-24 00:46:11 UTC) #3
dtu
lgtm
7 years, 5 months ago (2013-07-24 01:13:36 UTC) #4
achuithb
You may need to re-upload the patch. I'm having difficulty viewing the diffs.
7 years, 5 months ago (2013-07-24 01:14:07 UTC) #5
tonyg
On 2013/07/24 01:14:07, achuith.bhandarkar wrote: > You may need to re-upload the patch. I'm having ...
7 years, 5 months ago (2013-07-24 01:19:57 UTC) #6
achuithb
I might be going overboard with trying to find a good default in all cases. ...
7 years, 5 months ago (2013-07-24 01:20:07 UTC) #7
tonyg
On 2013/07/24 01:20:07, achuith.bhandarkar wrote: > I might be going overboard with trying to find ...
7 years, 5 months ago (2013-07-24 01:35:21 UTC) #8
achuithb
On 2013/07/24 01:35:21, tonyg wrote: > On 2013/07/24 01:20:07, achuith.bhandarkar wrote: > > I might ...
7 years, 5 months ago (2013-07-24 02:36:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/19972003/23001
7 years, 5 months ago (2013-07-24 02:42:51 UTC) #10
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 10:54:24 UTC) #11
Message was sent while issue was closed.
Change committed as 213401

Powered by Google App Engine
This is Rietveld 408576698