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

Issue 2398243002: mac: Stop using deprecated FSRef functions in service_process_util_mac.mm (Closed)

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

Description

mac: Stop using deprecated FSRef functions in service_process_util_mac.mm Original CL by thakis at: https://codereview.chromium.org/2122283002/. > Instead of an FSRef, use a fileReferenceURL, the replacement. > > The replacement function to check if a file is in the trash > only exists in 10.10+, but the old way was deprecated in 10.8, > so call the new code on 10.10+ and call the old code on 10.9 > (we can delete that code path once we stop supporting 10.9). > > No behavior change intended. BUG=74983, 622481 TEST= https://bugs.chromium.org/p/chromium/issues/detail?id=74983#c16 Committed: https://crrev.com/29c978360378e82108b2f1d336228995cd8dedb6 Cr-Commit-Position: refs/heads/master@{#424289}

Patch Set 1 : Original CL from https://codereview.chromium.org/2122283002/. #

Patch Set 2 : Compile error. #

Patch Set 3 : Fix tests. #

Total comments: 10

Patch Set 4 : Comments from thakis. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -208 lines) Patch
M chrome/common/service_process_util_mac.mm View 1 2 3 6 chunks +65 lines, -33 lines 0 comments Download
A chrome/common/service_process_util_mac_unittest.mm View 1 2 1 chunk +195 lines, -0 lines 0 comments Download
M chrome/common/service_process_util_unittest.cc View 1 2 1 chunk +0 lines, -175 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
erikchen
thakis: Please review. This logic is meant to run when the service is still registered ...
4 years, 2 months ago (2016-10-06 20:35:32 UTC) #4
erikchen
https://codereview.chromium.org/2398243002/diff/40001/chrome/common/service_process_util_mac.mm File chrome/common/service_process_util_mac.mm (right): https://codereview.chromium.org/2398243002/diff/40001/chrome/common/service_process_util_mac.mm#newcode385 chrome/common/service_process_util_mac.mm:385: // This is ok because it only happens on ...
4 years, 2 months ago (2016-10-07 00:18:44 UTC) #7
erikchen
On 2016/10/07 00:18:44, erikchen wrote: > https://codereview.chromium.org/2398243002/diff/40001/chrome/common/service_process_util_mac.mm > File chrome/common/service_process_util_mac.mm (right): > > https://codereview.chromium.org/2398243002/diff/40001/chrome/common/service_process_util_mac.mm#newcode385 > ...
4 years, 2 months ago (2016-10-10 19:07:04 UTC) #12
Nico
lgtm https://codereview.chromium.org/2398243002/diff/40001/chrome/common/service_process_util_mac.mm File chrome/common/service_process_util_mac.mm (right): https://codereview.chromium.org/2398243002/diff/40001/chrome/common/service_process_util_mac.mm#newcode364 chrome/common/service_process_util_mac.mm:364: // 10.8, but didn't ad getRelationship:... until 10.10. ...
4 years, 2 months ago (2016-10-10 19:14:15 UTC) #13
erikchen
https://codereview.chromium.org/2398243002/diff/40001/chrome/common/service_process_util_mac.mm File chrome/common/service_process_util_mac.mm (right): https://codereview.chromium.org/2398243002/diff/40001/chrome/common/service_process_util_mac.mm#newcode364 chrome/common/service_process_util_mac.mm:364: // 10.8, but didn't ad getRelationship:... until 10.10. So ...
4 years, 2 months ago (2016-10-10 22:49:31 UTC) #14
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/2398243002/60001
4 years, 2 months ago (2016-10-10 22:50:00 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-10 23:44:24 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-10-10 23:47:55 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/29c978360378e82108b2f1d336228995cd8dedb6
Cr-Commit-Position: refs/heads/master@{#424289}

Powered by Google App Engine
This is Rietveld 408576698