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

Issue 2369553002: Suppress sandbox deprecation warnings by using the Seatbelt wrapper. (Closed)

Created:
4 years, 3 months ago by Greg K
Modified:
4 years, 3 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, rickyz+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Suppress sandbox deprecation warnings by using the Seatbelt wrapper. OS X deprecated all of the Sandbox API and never provided a replacement. To hide the deprecation suppressions in the code, we use a wrapper class. BUG=chromium:622489 NOPRESUBMIT=true Committed: https://crrev.com/df7ac746097f96e4b6150c017f1e0f7f722926ca Cr-Commit-Position: refs/heads/master@{#420799}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Suppress sandbox deprecation warnings by using the Seatbelt wrapper. #

Total comments: 2

Patch Set 3 : Suppress sandbox deprecation warnings by using the Seatbelt wrapper. #

Patch Set 4 : Suppress sandbox deprecation warnings by using the Seatbelt wrapper. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -7 lines) Patch
M chrome/utility/safe_browsing/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/utility/safe_browsing/mac/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/utility/safe_browsing/mac/crdmg.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M ipc/ipc_send_fds_test.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M sandbox/mac/seatbelt.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
M sandbox/mac/seatbelt.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
Greg K
Robert, please review, thanks. - Greg
4 years, 3 months ago (2016-09-23 19:06:14 UTC) #2
Robert Sesek
https://codereview.chromium.org/2369553002/diff/1/chrome/utility/safe_browsing/mac/crdmg.cc File chrome/utility/safe_browsing/mac/crdmg.cc (right): https://codereview.chromium.org/2369553002/diff/1/chrome/utility/safe_browsing/mac/crdmg.cc#newcode27 chrome/utility/safe_browsing/mac/crdmg.cc:27: #include "sandbox/mac/seatbelt.h" Need to also update the BUILD.gn file ...
4 years, 3 months ago (2016-09-23 19:08:47 UTC) #3
Greg K
https://codereview.chromium.org/2369553002/diff/1/chrome/utility/safe_browsing/mac/crdmg.cc File chrome/utility/safe_browsing/mac/crdmg.cc (right): https://codereview.chromium.org/2369553002/diff/1/chrome/utility/safe_browsing/mac/crdmg.cc#newcode27 chrome/utility/safe_browsing/mac/crdmg.cc:27: #include "sandbox/mac/seatbelt.h" On 2016/09/23 19:08:47, Robert Sesek wrote: > ...
4 years, 3 months ago (2016-09-23 20:32:05 UTC) #4
Robert Sesek
LGTM https://codereview.chromium.org/2369553002/diff/20001/sandbox/mac/seatbelt.cc File sandbox/mac/seatbelt.cc (right): https://codereview.chromium.org/2369553002/diff/20001/sandbox/mac/seatbelt.cc#newcode25 sandbox/mac/seatbelt.cc:25: kSBXProfileNoWriteExceptTemporary; Formatting here is a bit odd. Did ...
4 years, 3 months ago (2016-09-23 20:47:55 UTC) #5
Greg K
tsepez@chromium.org: Please review changes in ipc/* thakis@chromium.org: Please review changes in safe_browsing/* Thanks, Greg https://codereview.chromium.org/2369553002/diff/20001/sandbox/mac/seatbelt.cc ...
4 years, 3 months ago (2016-09-23 21:14:05 UTC) #7
Nico
lgtm, thanks!
4 years, 3 months ago (2016-09-23 21:14:49 UTC) #8
Tom Sepez
lgtm
4 years, 3 months ago (2016-09-23 21:44:43 UTC) #9
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/2369553002/40001
4 years, 3 months ago (2016-09-23 21:46:38 UTC) #12
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/266065)
4 years, 3 months ago (2016-09-23 21:57:03 UTC) #14
Robert Sesek
On 2016/09/23 21:57:03, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 3 months ago (2016-09-23 21:59:52 UTC) #15
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/2369553002/60001
4 years, 3 months ago (2016-09-23 23:11:41 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-24 00:40:07 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-09-24 00:41:33 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/df7ac746097f96e4b6150c017f1e0f7f722926ca
Cr-Commit-Position: refs/heads/master@{#420799}

Powered by Google App Engine
This is Rietveld 408576698