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

Issue 986563003: base: Remove operator& from ScopedAuthorizationRef. (Closed)

Created:
5 years, 9 months ago by danakj
Modified:
5 years, 9 months ago
Reviewers:
Nico, garykac
CC:
chromium-reviews, erikwright+watch_chromium.org, piman, Mark Mentovai
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

base: Remove operator& from ScopedAuthorizationRef. The operator& is dangerous and makes it unclear what you are doing. Replace it with a get_pointer() method. R=Nico TBR=garykac@chromium.org BUG=464816 Committed: https://crrev.com/845755856c54aabac7022ee373618468b92f2e61 Cr-Commit-Position: refs/heads/master@{#319565} Committed: https://crrev.com/318afca092085cc5375a6b5547383d78baee3778 Cr-Commit-Position: refs/heads/master@{#319663}

Patch Set 1 #

Total comments: 2

Patch Set 2 : authorization: for-official-build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -8 lines) Patch
M base/mac/authorization_util.mm View 1 chunk +2 lines, -3 lines 0 comments Download
M base/mac/scoped_authorizationref.h View 1 chunk +1 line, -3 lines 0 comments Download
M remoting/host/installer/mac/uninstaller/remoting_uninstaller.mm View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
danakj
https://codereview.chromium.org/986563003/diff/1/base/mac/authorization_util.mm File base/mac/authorization_util.mm (right): https://codereview.chromium.org/986563003/diff/1/base/mac/authorization_util.mm#newcode33 base/mac/authorization_util.mm:33: authorization.get_pointer()); Please double check for me that get_pointer() is ...
5 years, 9 months ago (2015-03-06 23:32:39 UTC) #1
Nico
lgtm https://codereview.chromium.org/986563003/diff/1/base/mac/authorization_util.mm File base/mac/authorization_util.mm (right): https://codereview.chromium.org/986563003/diff/1/base/mac/authorization_util.mm#newcode33 base/mac/authorization_util.mm:33: authorization.get_pointer()); On 2015/03/06 23:32:38, danakj wrote: > Please ...
5 years, 9 months ago (2015-03-07 00:03:13 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986563003/1
5 years, 9 months ago (2015-03-07 00:04:26 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) mac_chromium_rel_ng on ...
5 years, 9 months ago (2015-03-07 02:04:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986563003/1
5 years, 9 months ago (2015-03-07 17:16:26 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 9 months ago (2015-03-07 23:02:24 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/845755856c54aabac7022ee373618468b92f2e61 Cr-Commit-Position: refs/heads/master@{#319565}
5 years, 9 months ago (2015-03-07 23:03:34 UTC) #10
hichris123
On 2015/03/07 23:03:34, I haz the power (commit-bot) wrote: > Patchset 1 (id:??) landed as ...
5 years, 9 months ago (2015-03-08 00:16:32 UTC) #11
Avi (use Gerrit)
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/988113002/ by avi@chromium.org. ...
5 years, 9 months ago (2015-03-08 02:35:00 UTC) #12
Avi (use Gerrit)
Alas, there are no trybots for the official build.
5 years, 9 months ago (2015-03-08 02:35:44 UTC) #13
danakj
Fixed the official build error.
5 years, 9 months ago (2015-03-09 16:30:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986563003/20001
5 years, 9 months ago (2015-03-09 16:30:51 UTC) #18
Nico
still lgtm not sure if official builds with -k 0 (probably not?), so this might ...
5 years, 9 months ago (2015-03-09 16:31:20 UTC) #19
danakj
On Mon, Mar 9, 2015 at 9:31 AM, <thakis@chromium.org> wrote: > still lgtm > > ...
5 years, 9 months ago (2015-03-09 16:34:55 UTC) #20
Nico
good enough :-) On Mon, Mar 9, 2015 at 9:34 AM, Dana Jansens <danakj@chromium.org> wrote: ...
5 years, 9 months ago (2015-03-09 16:35:24 UTC) #21
garykac
lgtm
5 years, 9 months ago (2015-03-09 16:41:22 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-09 17:18:01 UTC) #23
commit-bot: I haz the power
5 years, 9 months ago (2015-03-09 17:19:17 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/318afca092085cc5375a6b5547383d78baee3778
Cr-Commit-Position: refs/heads/master@{#319663}

Powered by Google App Engine
This is Rietveld 408576698