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

Issue 11092054: Teach BindToLoop to create callbacks that accept scoped parameters. (Closed)

Created:
8 years, 2 months ago by Ami GONE FROM CHROMIUM
Modified:
8 years, 2 months ago
Reviewers:
xhwang, awong
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Teach BindToLoop to create callbacks that accept scoped parameters. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163729

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved TrampolineHelper to media::internal namespace #

Patch Set 3 : rebase only #

Patch Set 4 : Another applicable site #

Total comments: 5

Patch Set 5 : xhwang CR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -69 lines) Patch
M content/common/gpu/media/vaapi_h264_decoder.h View 1 chunk +6 lines, -6 lines 0 comments Download
M content/common/gpu/media/vaapi_h264_decoder.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 1 2 3 4 1 chunk +2 lines, -5 lines 0 comments Download
M media/base/bind_to_loop.h View 1 9 chunks +44 lines, -37 lines 0 comments Download
M media/base/bind_to_loop.h.pump View 1 3 chunks +26 lines, -3 lines 0 comments Download
M media/base/bind_to_loop_unittest.cc View 1 2 3 3 chunks +41 lines, -1 line 0 comments Download
M webkit/media/webmediaplayer_impl.cc View 1 2 3 4 3 chunks +5 lines, -12 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Ami GONE FROM CHROMIUM
ajwong: I hope to move BindToLoop to base/ to make the poking at base::internal::PassedWrapper less ...
8 years, 2 months ago (2012-10-10 20:59:39 UTC) #1
awong
If we're going to do this, this is the only way to do it that ...
8 years, 2 months ago (2012-10-11 00:11:23 UTC) #2
awong
http://codereview.chromium.org/11092054/diff/1/media/base/bind_to_loop.h File media/base/bind_to_loop.h (right): http://codereview.chromium.org/11092054/diff/1/media/base/bind_to_loop.h#newcode37 media/base/bind_to_loop.h:37: T& TrampolineForward(T& t) { return t; } Crazy idea...can ...
8 years, 2 months ago (2012-10-11 00:18:22 UTC) #3
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/11092054/diff/1/media/base/bind_to_loop.h File media/base/bind_to_loop.h (right): http://codereview.chromium.org/11092054/diff/1/media/base/bind_to_loop.h#newcode37 media/base/bind_to_loop.h:37: T& TrampolineForward(T& t) { return t; } On 2012/10/11 ...
8 years, 2 months ago (2012-10-11 07:20:38 UTC) #4
Ami GONE FROM CHROMIUM
FTR, convos about moving this to base/ have stalled, but this CL is still an ...
8 years, 2 months ago (2012-10-23 06:43:53 UTC) #5
xhwang
lgtm % nits https://codereview.chromium.org/11092054/diff/13001/media/base/bind_to_loop.h.pump File media/base/bind_to_loop.h.pump (right): https://codereview.chromium.org/11092054/diff/13001/media/base/bind_to_loop.h.pump#newcode80 media/base/bind_to_loop.h.pump:80: Did you put two empty lines ...
8 years, 2 months ago (2012-10-23 21:37:03 UTC) #6
Ami GONE FROM CHROMIUM
Thanks for the review. https://codereview.chromium.org/11092054/diff/13001/media/base/bind_to_loop.h.pump File media/base/bind_to_loop.h.pump (right): https://codereview.chromium.org/11092054/diff/13001/media/base/bind_to_loop.h.pump#newcode80 media/base/bind_to_loop.h.pump:80: On 2012/10/23 21:37:03, xhwang wrote: ...
8 years, 2 months ago (2012-10-23 21:58:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fischman@chromium.org/11092054/20001
8 years, 2 months ago (2012-10-23 21:59:09 UTC) #8
commit-bot: I haz the power
8 years, 2 months ago (2012-10-24 00:12:06 UTC) #9
Change committed as 163729

Powered by Google App Engine
This is Rietveld 408576698