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

Issue 978923004: Use variadic template in media::BindToCurrentLoop() (Closed)

Created:
5 years, 9 months ago by wdzierzanowski
Modified:
5 years, 9 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use variadic template in media::BindToCurrentLoop() Stop using pump.y to generate media/base/bind_to_current_loop.h and use a variadic template instead. This is a mirror change of https://crrev.com/c87149e666acfe39d49d7f30a5fd9acc7ef085ea. TEST=media_unittests Committed: https://crrev.com/47c5177c37445dacbb134621153e313559186d75 Cr-Commit-Position: refs/heads/master@{#319343}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Remove reduntant 'internal::' #

Patch Set 3 : Explain need to forward-declare TrampolineHelper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -190 lines) Patch
M media/base/bind_to_current_loop.h View 1 2 2 chunks +11 lines, -104 lines 0 comments Download
D media/base/bind_to_current_loop.h.pump View 1 chunk +0 lines, -86 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
wdzierzanowski
@scherkus, @xhwang: Could you PTAL?
5 years, 9 months ago (2015-03-05 13:38:55 UTC) #2
xhwang
Thanks for handling this! Just a few questions. https://codereview.chromium.org/978923004/diff/1/media/base/bind_to_current_loop.h File media/base/bind_to_current_loop.h (right): https://codereview.chromium.org/978923004/diff/1/media/base/bind_to_current_loop.h#newcode42 media/base/bind_to_current_loop.h:42: template ...
5 years, 9 months ago (2015-03-05 17:19:15 UTC) #3
wdzierzanowski
https://codereview.chromium.org/978923004/diff/1/media/base/bind_to_current_loop.h File media/base/bind_to_current_loop.h (right): https://codereview.chromium.org/978923004/diff/1/media/base/bind_to_current_loop.h#newcode42 media/base/bind_to_current_loop.h:42: template <typename Sig> struct TrampolineHelper; On 2015/03/05 17:19:15, xhwang ...
5 years, 9 months ago (2015-03-05 20:45:16 UTC) #4
wdzierzanowski
> Of course not, blindly copied from the old version :) I don't know why ...
5 years, 9 months ago (2015-03-05 20:46:20 UTC) #5
wdzierzanowski
https://codereview.chromium.org/978923004/diff/1/media/base/bind_to_current_loop.h File media/base/bind_to_current_loop.h (right): https://codereview.chromium.org/978923004/diff/1/media/base/bind_to_current_loop.h#newcode51 media/base/bind_to_current_loop.h:51: base::Bind(cb, internal::TrampolineForward(args)...)); On 2015/03/05 20:45:16, wdzierzanowski wrote: > On ...
5 years, 9 months ago (2015-03-05 20:47:56 UTC) #6
xhwang
lgtm % nit https://codereview.chromium.org/978923004/diff/1/media/base/bind_to_current_loop.h File media/base/bind_to_current_loop.h (right): https://codereview.chromium.org/978923004/diff/1/media/base/bind_to_current_loop.h#newcode42 media/base/bind_to_current_loop.h:42: template <typename Sig> struct TrampolineHelper; On ...
5 years, 9 months ago (2015-03-05 20:48:50 UTC) #7
wdzierzanowski
https://codereview.chromium.org/978923004/diff/1/media/base/bind_to_current_loop.h File media/base/bind_to_current_loop.h (right): https://codereview.chromium.org/978923004/diff/1/media/base/bind_to_current_loop.h#newcode42 media/base/bind_to_current_loop.h:42: template <typename Sig> struct TrampolineHelper; On 2015/03/05 20:48:49, xhwang ...
5 years, 9 months ago (2015-03-05 21:00:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/978923004/40001
5 years, 9 months ago (2015-03-05 21:33:27 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-05 22:25:19 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 22:25:56 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/47c5177c37445dacbb134621153e313559186d75
Cr-Commit-Position: refs/heads/master@{#319343}

Powered by Google App Engine
This is Rietveld 408576698