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

Issue 1839243004: Suppress deprecation warnings for OS X sandbox functions. (Closed)

Created:
4 years, 8 months ago by Greg K
Modified:
4 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, rickyz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Suppress deprecation warnings for OS X sandbox functions. OS X deprecated sandbox_init and sandbox_free_error, but never provided suitable replacements. This supresses the warning. BUG=547071 Committed: https://crrev.com/4a7c8037156d284abd840ce093c001655ec4f742 Cr-Commit-Position: refs/heads/master@{#384310}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M content/common/sandbox_mac.mm View 1 chunk +3 lines, -0 lines 1 comment Download
M ipc/ipc_send_fds_test.cc View 2 chunks +3 lines, -0 lines 1 comment Download

Messages

Total messages: 17 (5 generated)
Greg K
Please review, thanks.
4 years, 8 months ago (2016-03-30 20:08:36 UTC) #2
Robert Sesek
I think there's one more instance of this in crdmg.cc. One thing to consider would ...
4 years, 8 months ago (2016-03-30 20:38:52 UTC) #3
Greg K
On 2016/03/30 20:38:52, Robert Sesek wrote: > I think there's one more instance of this ...
4 years, 8 months ago (2016-03-30 20:48:33 UTC) #4
Robert Sesek
On 2016/03/30 20:48:33, Greg Kerr wrote: > On 2016/03/30 20:38:52, Robert Sesek wrote: > > ...
4 years, 8 months ago (2016-03-30 20:54:02 UTC) #5
Greg K
tsepez@chromium.org: Please provide an OWNERS review for the ipc file. Thanks, kerrnel
4 years, 8 months ago (2016-03-30 20:58:15 UTC) #7
Tom Sepez
STAMP LGTM.
4 years, 8 months ago (2016-03-30 21:25:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839243004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839243004/1
4 years, 8 months ago (2016-03-31 16:32:55 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-03-31 16:57:51 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/4a7c8037156d284abd840ce093c001655ec4f742 Cr-Commit-Position: refs/heads/master@{#384310}
4 years, 8 months ago (2016-03-31 17:04:31 UTC) #13
Nico
https://codereview.chromium.org/1839243004/diff/1/content/common/sandbox_mac.mm File content/common/sandbox_mac.mm (right): https://codereview.chromium.org/1839243004/diff/1/content/common/sandbox_mac.mm#newcode157 content/common/sandbox_mac.mm:157: error->assign(error_internal); Can you please add a somewhat detailed comment ...
4 years, 8 months ago (2016-03-31 19:50:15 UTC) #15
Greg K
On 2016/03/31 19:50:15, Nico wrote: > https://codereview.chromium.org/1839243004/diff/1/content/common/sandbox_mac.mm > File content/common/sandbox_mac.mm (right): > > https://codereview.chromium.org/1839243004/diff/1/content/common/sandbox_mac.mm#newcode157 > ...
4 years, 8 months ago (2016-03-31 20:02:36 UTC) #16
Nico
4 years, 8 months ago (2016-03-31 20:27:50 UTC) #17
Message was sent while issue was closed.
Works for me :-)
On Mar 31, 2016 4:02 PM, <kerrnel@chromium.org> wrote:

> On 2016/03/31 19:50:15, Nico wrote:
> >
>
>
https://codereview.chromium.org/1839243004/diff/1/content/common/sandbox_mac.mm
> > File content/common/sandbox_mac.mm (right):
> >
> >
>
>
https://codereview.chromium.org/1839243004/diff/1/content/common/sandbox_mac....
> > content/common/sandbox_mac.mm:157: error->assign(error_internal);
> > Can you please add a somewhat detailed comment here why this suppression
> is
> > justified? I think this CL is ok, but I don't want unannotated instances
> of
> this
> > suppression in the code base.
> >
> >
> https://codereview.chromium.org/1839243004/diff/1/ipc/ipc_send_fds_test.cc
> > File ipc/ipc_send_fds_test.cc (right):
> >
> >
>
>
https://codereview.chromium.org/1839243004/diff/1/ipc/ipc_send_fds_test.cc#ne...
> > ipc/ipc_send_fds_test.cc:197: #pragma clang diagnostic ignored
> > "-Wdeprecated-declarations"
> > Here too
>
> Sure, if I am going to comment everything, why don't I just write a C++
> wrapper
> function so the comment is only in one place?
>
> - Greg
>
> https://codereview.chromium.org/1839243004/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698