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

Issue 2393793002: Mac: Port deprecated methods to 10.8+ alternatives in install_from_dmg.mm. (Closed)

Created:
4 years, 2 months ago by Patti Lor
Modified:
4 years, 2 months ago
Reviewers:
Robert Sesek, tapted
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac: Port deprecated methods to 10.8+ alternatives in install_from_dmg.mm. FSPathMoveObjectToTrashSync and FNNotifyByPath are deprecated. Replace the former with an equivalent NSFileManager trashItemAtURL:: call, which doesn't have the problem of not notifying the trash can to update its icon (if previously) empty. This means there is no need to call FNNotifyByPath to update the icon manually, so delete it. BUG=650796 Committed: https://crrev.com/680f9d60ee6c44ef2677d869860017c2350fab63 Cr-Commit-Position: refs/heads/master@{#424109}

Patch Set 1 #

Patch Set 2 : Add to forward declarations. #

Patch Set 3 : Delete incorrect & unneeded sys_string_conversations_mac.mm import. #

Total comments: 2

Patch Set 4 : Print out the returned error message on trashing failure. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -23 lines) Patch
M base/mac/sdk_forward_declarations.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/mac/install_from_dmg.mm View 1 2 3 2 chunks +8 lines, -23 lines 0 comments Download

Messages

Total messages: 29 (20 generated)
Patti Lor
Hi Trent, PTAL - it's a CL from Wednesday that I was finally able to ...
4 years, 2 months ago (2016-10-07 03:08:40 UTC) #14
tapted
https://codereview.chromium.org/2393793002/diff/40001/chrome/browser/mac/install_from_dmg.mm File chrome/browser/mac/install_from_dmg.mm (right): https://codereview.chromium.org/2393793002/diff/40001/chrome/browser/mac/install_from_dmg.mm#newcode687 chrome/browser/mac/install_from_dmg.mm:687: error:nil]) { We're probably not interested in resultingItemURL, but ...
4 years, 2 months ago (2016-10-07 04:33:15 UTC) #15
Patti Lor
https://codereview.chromium.org/2393793002/diff/40001/chrome/browser/mac/install_from_dmg.mm File chrome/browser/mac/install_from_dmg.mm (right): https://codereview.chromium.org/2393793002/diff/40001/chrome/browser/mac/install_from_dmg.mm#newcode687 chrome/browser/mac/install_from_dmg.mm:687: error:nil]) { On 2016/10/07 04:33:15, tapted wrote: > We're ...
4 years, 2 months ago (2016-10-07 05:51:25 UTC) #20
tapted
lgtm
4 years, 2 months ago (2016-10-07 06:13:33 UTC) #21
Patti Lor
Hi rsesek@, PTAL! Thanks.
4 years, 2 months ago (2016-10-07 06:18:01 UTC) #23
Robert Sesek
lgtm
4 years, 2 months ago (2016-10-07 14:20:42 UTC) #24
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/2393793002/60001
4 years, 2 months ago (2016-10-09 22:46:41 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-09 23:08:26 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-09 23:10:38 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/680f9d60ee6c44ef2677d869860017c2350fab63
Cr-Commit-Position: refs/heads/master@{#424109}

Powered by Google App Engine
This is Rietveld 408576698