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

Issue 2390953003: [Mac Fix-It] Changed OpenApplicationWithPath to use NSWorkspace. (Closed)

Created:
4 years, 2 months ago by Eugene But (OOO till 7-30)
Modified:
4 years, 2 months ago
Reviewers:
tapted, Nico
CC:
chromium-reviews, tapted, Matt Giuca
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac Fix-It] Changed OpenApplicationWithPath to use NSWorkspace. This removes base::mac::FSRefFromPath usage from OpenApplicationWithPath. |FSRefFromPath| is relying on deprecated API and should be removed. BUG=650854 Committed: https://crrev.com/7eb9c14b4f3c992d2d66f4b6f56e8a42671abd87 Cr-Commit-Position: refs/heads/master@{#423391}

Patch Set 1 #

Patch Set 2 : Self review #

Total comments: 15

Patch Set 3 : Addressed review comments #

Patch Set 4 : Self review #

Total comments: 4

Patch Set 5 : Addressed review comments #

Total comments: 1

Patch Set 6 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -106 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M base/mac/launch_services_util.h View 1 2 4 1 chunk +9 lines, -11 lines 0 comments Download
D base/mac/launch_services_util.cc View 1 chunk +0 lines, -66 lines 0 comments Download
A base/mac/launch_services_util.mm View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
M chrome/app_shim/app_mode_loader_mac.mm View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/app_shim/chrome_main_app_mode_mac.mm View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/apps/app_shim/app_shim_interactive_uitest_mac.mm View 1 2 4 chunks +10 lines, -15 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.mm View 1 2 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (18 generated)
Eugene But (OOO till 7-30)
4 years, 2 months ago (2016-10-04 04:57:50 UTC) #6
tapted
https://codereview.chromium.org/2390953003/diff/20001/base/mac/launch_services_util.h File base/mac/launch_services_util.h (right): https://codereview.chromium.org/2390953003/diff/20001/base/mac/launch_services_util.h#newcode14 base/mac/launch_services_util.h:14: struct ProcessSerialNumber; remove? https://codereview.chromium.org/2390953003/diff/20001/base/mac/launch_services_util.h#newcode26 base/mac/launch_services_util.h:26: BASE_EXPORT bool OpenApplicationWithPath( Since ...
4 years, 2 months ago (2016-10-04 05:54:09 UTC) #11
Matt Giuca
Not sure why I am CC'd... is there something you wanted me to look at?
4 years, 2 months ago (2016-10-04 05:58:43 UTC) #13
Eugene But (OOO till 7-30)
On 2016/10/04 05:58:43, Matt Giuca (OOO til Oct 4) wrote: > Not sure why I ...
4 years, 2 months ago (2016-10-04 06:59:41 UTC) #14
Eugene But (OOO till 7-30)
PTAL https://codereview.chromium.org/2390953003/diff/20001/base/mac/launch_services_util.h File base/mac/launch_services_util.h (right): https://codereview.chromium.org/2390953003/diff/20001/base/mac/launch_services_util.h#newcode14 base/mac/launch_services_util.h:14: struct ProcessSerialNumber; On 2016/10/04 05:54:08, tapted wrote: > ...
4 years, 2 months ago (2016-10-04 07:02:49 UTC) #15
tapted
lgtm https://codereview.chromium.org/2390953003/diff/20001/base/mac/launch_services_util.mm File base/mac/launch_services_util.mm (right): https://codereview.chromium.org/2390953003/diff/20001/base/mac/launch_services_util.mm#newcode48 base/mac/launch_services_util.mm:48: DLOG(ERROR) << base::SysNSStringToUTF8(error_description); On 2016/10/04 07:02:49, Eugene But ...
4 years, 2 months ago (2016-10-05 01:40:47 UTC) #17
Eugene But (OOO till 7-30)
Thanks! https://codereview.chromium.org/2390953003/diff/60001/base/mac/launch_services_util.h File base/mac/launch_services_util.h (right): https://codereview.chromium.org/2390953003/diff/60001/base/mac/launch_services_util.h#newcode22 base/mac/launch_services_util.h:22: // first entry. Returns a valid process if ...
4 years, 2 months ago (2016-10-05 01:49:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2390953003/80001
4 years, 2 months ago (2016-10-05 01:50:29 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/273810)
4 years, 2 months ago (2016-10-05 02:00:14 UTC) #23
Eugene But (OOO till 7-30)
Nico?
4 years, 2 months ago (2016-10-05 02:17:38 UTC) #24
Nico
lgtm, thanks! https://codereview.chromium.org/2390953003/diff/80001/base/mac/launch_services_util.mm File base/mac/launch_services_util.mm (right): https://codereview.chromium.org/2390953003/diff/80001/base/mac/launch_services_util.mm#newcode29 base/mac/launch_services_util.mm:29: const std::string& arg(argv[i]); You don't need this ...
4 years, 2 months ago (2016-10-05 14:23:18 UTC) #25
Eugene But (OOO till 7-30)
Thanks!
4 years, 2 months ago (2016-10-06 00:43:49 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2390953003/100001
4 years, 2 months ago (2016-10-06 00:44:31 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-06 01:56:15 UTC) #31
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 01:59:01 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7eb9c14b4f3c992d2d66f4b6f56e8a42671abd87
Cr-Commit-Position: refs/heads/master@{#423391}

Powered by Google App Engine
This is Rietveld 408576698