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

Issue 2398853002: Remove deprecated APIs from OpenApplicationWithPath. (Closed)

Created:
4 years, 2 months ago by erikchen
Modified:
4 years, 2 months ago
Reviewers:
tapted
CC:
chromium-reviews, tapted, Matt Giuca
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove deprecated APIs from OpenApplicationWithPath. -[NSWorkspace launchApplicationAtURL:...] is a drop-in replacement for LSOpenApplication. The one tricky bit is that LSOpenApplication returns a ProcessSerialNumber which NSRunningApplication does not have. It seems like we were only using that ProcessSerialNumber to send an Apple Event, which we can do directly with launchApplicationAtURL:..., so I just used that instead. BUG=650790

Patch Set 1 #

Patch Set 2 : Clean up. #

Patch Set 3 : More cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -139 lines) Patch
M base/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M base/mac/launch_services_util.h View 2 chunks +7 lines, -6 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 1 chunk +63 lines, -0 lines 0 comments Download
M chrome/app_shim/chrome_main_app_mode_mac.mm View 1 2 6 chunks +24 lines, -56 lines 0 comments Download
M chrome/browser/apps/app_shim/app_shim_interactive_uitest_mac.mm View 3 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.mm View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (7 generated)
erikchen
tapted: Please review. AppShimInteractiveTest passes when run locally, but I bet we still need to ...
4 years, 2 months ago (2016-10-06 01:24:31 UTC) #5
tapted
On 2016/10/06 01:24:31, erikchen wrote: > tapted: Please review. > > AppShimInteractiveTest passes when run ...
4 years, 2 months ago (2016-10-06 01:28:41 UTC) #7
Eugene But (OOO till 7-30)
On 2016/10/06 01:28:41, tapted wrote: > On 2016/10/06 01:24:31, erikchen wrote: > > tapted: Please ...
4 years, 2 months ago (2016-10-06 01:36:36 UTC) #8
erikchen
4 years, 2 months ago (2016-10-06 01:56:17 UTC) #9
On 2016/10/06 01:36:36, Eugene But wrote:
> On 2016/10/06 01:28:41, tapted wrote:
> > On 2016/10/06 01:24:31, erikchen wrote:
> > > tapted: Please review.
> > > 
> > > AppShimInteractiveTest passes when run locally, but I bet we still need to
> > > manually test this functionality. Any ideas?
> > 
> > ohnoz! I think eugene has a fix in the CQ for some of this -
> > https://codereview.chromium.org/2390953003/
> > 
> > However, it hasn't yet dealt with the ReplyEventHandler part -- I'll start
> > looking at that.
> I was fixing https://crbug.com/650854 :( Looks like some Fixit bugs have
> overlapping work :(

:( feel free to cannabilize my CL to make your CL work.

Powered by Google App Engine
This is Rietveld 408576698