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

Issue 2260633004: mac: Update relauncher to not use deprecated APIs. (Closed)

Created:
4 years, 4 months ago by erikchen
Modified:
4 years, 4 months ago
Reviewers:
Mark Mentovai, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac: Update relauncher to not use deprecated APIs. FSRef has been deprecated since OS X 10.8. Switch the relauncher over to using the more modern NSWorkspace API. BUG=622481 Committed: https://crrev.com/bd7026fe500c0b56d60e06fdfda9f73bd0a2ce16 Cr-Commit-Position: refs/heads/master@{#413495}

Patch Set 1 #

Patch Set 2 : Clean up. #

Patch Set 3 : Clean up. #

Total comments: 4

Patch Set 4 : Comments from mark. #

Total comments: 2

Patch Set 5 : Add autorelease pool. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -415 lines) Patch
D chrome/browser/mac/relauncher.cc View 1 chunk +0 lines, -381 lines 0 comments Download
A + chrome/browser/mac/relauncher.mm View 1 2 3 4 6 chunks +29 lines, -33 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (13 generated)
erikchen
mark: Please review.
4 years, 4 months ago (2016-08-18 21:48:38 UTC) #4
erikchen
thakis: Please review.
4 years, 4 months ago (2016-08-22 17:36:07 UTC) #9
Mark Mentovai
LGTM otherwise https://codereview.chromium.org/2260633004/diff/40001/chrome/browser/mac/relauncher.mm File chrome/browser/mac/relauncher.mm (right): https://codereview.chromium.org/2260633004/diff/40001/chrome/browser/mac/relauncher.mm#newcode281 chrome/browser/mac/relauncher.mm:281: // The capacity for relaunch_args is 4 ...
4 years, 4 months ago (2016-08-22 17:43:32 UTC) #10
erikchen
https://codereview.chromium.org/2260633004/diff/40001/chrome/browser/mac/relauncher.mm File chrome/browser/mac/relauncher.mm (right): https://codereview.chromium.org/2260633004/diff/40001/chrome/browser/mac/relauncher.mm#newcode281 chrome/browser/mac/relauncher.mm:281: // The capacity for relaunch_args is 4 less than ...
4 years, 4 months ago (2016-08-22 17:54:12 UTC) #11
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/2260633004/60001
4 years, 4 months ago (2016-08-22 17:54:57 UTC) #14
Mark Mentovai
https://codereview.chromium.org/2260633004/diff/60001/chrome/browser/mac/relauncher.mm File chrome/browser/mac/relauncher.mm (right): https://codereview.chromium.org/2260633004/diff/60001/chrome/browser/mac/relauncher.mm#newcode327 chrome/browser/mac/relauncher.mm:327: NSString* arg_string = base::SysUTF8ToNSString(arg); Are we sure we have ...
4 years, 4 months ago (2016-08-22 17:56:47 UTC) #15
erikchen
https://codereview.chromium.org/2260633004/diff/60001/chrome/browser/mac/relauncher.mm File chrome/browser/mac/relauncher.mm (right): https://codereview.chromium.org/2260633004/diff/60001/chrome/browser/mac/relauncher.mm#newcode327 chrome/browser/mac/relauncher.mm:327: NSString* arg_string = base::SysUTF8ToNSString(arg); On 2016/08/22 17:56:47, Mark Mentovai ...
4 years, 4 months ago (2016-08-22 18:05:21 UTC) #17
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/2260633004/80001
4 years, 4 months ago (2016-08-22 18:06:49 UTC) #20
Mark Mentovai
Exactly. LGTM with the autorelease pool.
4 years, 4 months ago (2016-08-22 18:07:27 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-22 18:58:36 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-22 19:04:05 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bd7026fe500c0b56d60e06fdfda9f73bd0a2ce16
Cr-Commit-Position: refs/heads/master@{#413495}

Powered by Google App Engine
This is Rietveld 408576698