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

Issue 331843007: Add support for IsApplicationRunning on Mac. (Closed)

Created:
6 years, 6 months ago by baxley
Modified:
6 years, 6 months ago
Reviewers:
dtu, tonyg
CC:
chromium-reviews, telemetry+watch_chromium.org, klundberg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add support for IsApplicationRunning on Mac. PosixPlatformBackend didn't have support for detecting if an app is running. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278524

Patch Set 1 #

Total comments: 2

Patch Set 2 : More strict checking. #

Total comments: 6

Patch Set 3 : add unit tests #

Patch Set 4 : Move tests to posix_platform_backend_unittest #

Patch Set 5 : Remove 'win' from test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2 lines) Patch
M tools/telemetry/telemetry/core/platform/__init__.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/posix_platform_backend.py View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/posix_platform_backend_unittest.py View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
baxley
I moved some of the logic to check if an app is running to posix_platform_backend.py ...
6 years, 6 months ago (2014-06-18 00:45:49 UTC) #1
baxley
I made the check a little more strict so that the app name being searched ...
6 years, 6 months ago (2014-06-18 18:27:21 UTC) #2
dtu
Great! lgtm
6 years, 6 months ago (2014-06-18 21:06:42 UTC) #3
tonyg
https://codereview.chromium.org/331843007/diff/20001/tools/telemetry/telemetry/core/platform/__init__.py File tools/telemetry/telemetry/core/platform/__init__.py (right): https://codereview.chromium.org/331843007/diff/20001/tools/telemetry/telemetry/core/platform/__init__.py#newcode136 tools/telemetry/telemetry/core/platform/__init__.py:136: return self._platform_backend.IsApplicationRunning(application) Good fix. This points out a complete ...
6 years, 6 months ago (2014-06-18 21:13:40 UTC) #4
baxley
I initially had the unit tests in posix_platform_backend_unittest.py, but I wasn't sure how to filter ...
6 years, 6 months ago (2014-06-18 23:01:26 UTC) #5
tonyg
On 2014/06/18 23:01:26, baxley wrote: > I initially had the unit tests in posix_platform_backend_unittest.py, but ...
6 years, 6 months ago (2014-06-19 00:28:35 UTC) #6
baxley
The CQ bit was checked by baxley@chromium.org
6 years, 6 months ago (2014-06-19 14:17:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/baxley@chromium.org/331843007/60001
6 years, 6 months ago (2014-06-19 14:19:12 UTC) #8
baxley
On 2014/06/19 00:28:35, tonyg wrote: > On 2014/06/18 23:01:26, baxley wrote: > > I initially ...
6 years, 6 months ago (2014-06-19 15:51:57 UTC) #9
baxley
The CQ bit was checked by baxley@chromium.org
6 years, 6 months ago (2014-06-19 15:52:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/baxley@chromium.org/331843007/80001
6 years, 6 months ago (2014-06-19 15:53:24 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 23:37:56 UTC) #12
Message was sent while issue was closed.
Change committed as 278524

Powered by Google App Engine
This is Rietveld 408576698