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

Issue 1921243002: NetEq: Dependency injection through one struct instead of many params (Closed)

Created:
4 years, 8 months ago by hlundin-webrtc
Modified:
4 years, 7 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, peah-webrtc, minyue-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

NetEq: Dependency injection through one struct instead of many params With this change, the NetEqImpl constructor takes a struct (NetEqImpl::Dependencies) as input instead of a collection of individual dependencies. The NetEqImpl unit test fixture is modified to make better used of unique_ptrs. Committed: https://crrev.com/1d9061e8ae00a7150949810b006f8c84d13cbadf Cr-Commit-Position: refs/heads/master@{#12514}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Updates after review #

Patch Set 3 : Rebase, with conflicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -187 lines) Patch
M webrtc/modules/audio_coding/neteq/neteq.cc View 1 2 2 chunks +1 line, -35 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.h View 1 1 chunk +26 lines, -15 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.cc View 1 2 2 chunks +34 lines, -26 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc View 1 2 4 chunks +81 lines, -111 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
hlundin-webrtc
kwiberg, PTAL. Thanks!
4 years, 8 months ago (2016-04-26 11:41:31 UTC) #5
kwiberg-webrtc
lgtm with some nits https://codereview.webrtc.org/1921243002/diff/60001/webrtc/modules/audio_coding/neteq/neteq.cc File webrtc/modules/audio_coding/neteq/neteq.cc (right): https://codereview.webrtc.org/1921243002/diff/60001/webrtc/modules/audio_coding/neteq/neteq.cc#newcode36 webrtc/modules/audio_coding/neteq/neteq.cc:36: return new NetEqImpl(config, std::move(deps)); Just ...
4 years, 8 months ago (2016-04-26 13:00:04 UTC) #6
hlundin-webrtc
Updates after review
4 years, 8 months ago (2016-04-26 13:19:38 UTC) #7
hlundin-webrtc
Thanks! I will commit the revised patch set. https://codereview.webrtc.org/1921243002/diff/60001/webrtc/modules/audio_coding/neteq/neteq.cc File webrtc/modules/audio_coding/neteq/neteq.cc (right): https://codereview.webrtc.org/1921243002/diff/60001/webrtc/modules/audio_coding/neteq/neteq.cc#newcode36 webrtc/modules/audio_coding/neteq/neteq.cc:36: return ...
4 years, 8 months ago (2016-04-26 13:20:38 UTC) #8
hlundin-webrtc
Rebase, with conflicts
4 years, 8 months ago (2016-04-26 18:14:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921243002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921243002/100001
4 years, 8 months ago (2016-04-26 18:17:11 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 8 months ago (2016-04-26 19:19:40 UTC) #13
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/1d9061e8ae00a7150949810b006f8c84d13cbadf Cr-Commit-Position: refs/heads/master@{#12514}
4 years, 8 months ago (2016-04-26 19:19:48 UTC) #15
hlundin-webrtc
4 years, 8 months ago (2016-04-26 19:35:47 UTC) #16
Message was sent while issue was closed.
On 2016/04/26 19:19:48, commit-bot: I haz the power wrote:
> Patchset 3 (id:??) landed as
> https://crrev.com/1d9061e8ae00a7150949810b006f8c84d13cbadf
> Cr-Commit-Position: refs/heads/master@{#12514}

A correction to this CL was uploaded at
https://codereview.webrtc.org/1920333002.

Powered by Google App Engine
This is Rietveld 408576698