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

Issue 9290046: Adding a scoped_nsprotocol (Closed)

Created:
8 years, 11 months ago by qsr
Modified:
8 years, 11 months ago
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Adding a scoped_nsprotocol This allow to easily own protocol. The syntax is: scoped_nsobject<id<MyProtocol> > object; BUG= none TEST= none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119419

Patch Set 1 #

Patch Set 2 : Style. #

Total comments: 4

Patch Set 3 : Follow review. #

Total comments: 2

Patch Set 4 : Follow review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -0 lines) Patch
M base/memory/scoped_nsobject.h View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
qsr
There might be something obvious I'm missing, but I'm unable today to have an easy ...
8 years, 11 months ago (2012-01-26 11:12:54 UTC) #1
Mark Mentovai
http://codereview.chromium.org/9290046/diff/1001/base/memory/scoped_nsobject.h File base/memory/scoped_nsobject.h (right): http://codereview.chromium.org/9290046/diff/1001/base/memory/scoped_nsobject.h#newcode82 base/memory/scoped_nsobject.h:82: // Free functions Do these for scoped_nsprotocol too? http://codereview.chromium.org/9290046/diff/1001/base/memory/scoped_nsobject.h#newcode163 ...
8 years, 11 months ago (2012-01-26 14:21:15 UTC) #2
qsr
http://codereview.chromium.org/9290046/diff/1001/base/memory/scoped_nsobject.h File base/memory/scoped_nsobject.h (right): http://codereview.chromium.org/9290046/diff/1001/base/memory/scoped_nsobject.h#newcode82 base/memory/scoped_nsobject.h:82: // Free functions On 2012/01/26 14:21:15, Mark Mentovai wrote: ...
8 years, 11 months ago (2012-01-26 14:34:49 UTC) #3
Mark Mentovai
http://codereview.chromium.org/9290046/diff/3001/base/memory/scoped_nsobject.h File base/memory/scoped_nsobject.h (right): http://codereview.chromium.org/9290046/diff/3001/base/memory/scoped_nsobject.h#newcode217 base/memory/scoped_nsobject.h:217: bool operator==(C* p1, const scoped_nsprotocol<C>& p2) { Is the ...
8 years, 11 months ago (2012-01-26 15:12:20 UTC) #4
qsr (NOT THE RIGHT qsr)
http://codereview.chromium.org/9290046/diff/3001/base/memory/scoped_nsobject.h File base/memory/scoped_nsobject.h (right): http://codereview.chromium.org/9290046/diff/3001/base/memory/scoped_nsobject.h#newcode217 base/memory/scoped_nsobject.h:217: bool operator==(C* p1, const scoped_nsprotocol<C>& p2) { Done. Thanks.
8 years, 11 months ago (2012-01-26 15:24:56 UTC) #5
Mark Mentovai
LGTM
8 years, 11 months ago (2012-01-26 15:39:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/9290046/4002
8 years, 11 months ago (2012-01-27 07:35:02 UTC) #7
commit-bot: I haz the power
8 years, 11 months ago (2012-01-27 09:07:20 UTC) #8
Change committed as 119419

Powered by Google App Engine
This is Rietveld 408576698