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

Issue 2294263002: Fix style guide issues in audio mixer. (Closed)

Created:
4 years, 3 months ago by aleloi
Modified:
4 years, 3 months ago
Reviewers:
ivoc, kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

This CL contains the following small changes: 1. Use of const in all variable declarations where it is possible 2. Variable names and function arguments changed from CamelCase to match code style 3. A few stale comments removed. 4. Chromium clang plugin check added (now possible thanks to kwiberg@'s work on common.h) 5. Disallow constructor macros added. NOTRY=true Committed: https://crrev.com/a4c2106120e693d7e928454dfb1d26954d972e12 Cr-Commit-Position: refs/heads/master@{#14120}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Forgot one CamelCase local variable. #

Patch Set 3 : Rebase. #

Total comments: 5

Patch Set 4 : Rebase. #

Patch Set 5 : Int conversion. #

Patch Set 6 : Auto. #

Patch Set 7 : Rebase. #

Patch Set 8 : Rebase. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -103 lines) Patch
M webrtc/modules/audio_mixer/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +0 lines, -6 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer.h View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer_defines.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer_impl.h View 1 2 3 4 5 6 4 chunks +11 lines, -15 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer_impl.cc View 1 2 3 4 5 6 13 chunks +77 lines, -80 lines 2 comments Download

Depends on Patchset:

Messages

Total messages: 27 (16 generated)
aleloi
... and part 3/3 is uploaded! Please take a look at this one too! https://codereview.webrtc.org/2294263002/diff/1/webrtc/modules/audio_mixer/BUILD.gn ...
4 years, 3 months ago (2016-08-31 12:35:05 UTC) #4
kwiberg-webrtc
lgtm https://codereview.webrtc.org/2294263002/diff/50001/webrtc/modules/audio_mixer/audio_mixer_impl.cc File webrtc/modules/audio_mixer/audio_mixer_impl.cc (right): https://codereview.webrtc.org/2294263002/diff/50001/webrtc/modules/audio_mixer/audio_mixer_impl.cc#newcode103 webrtc/modules/audio_mixer/audio_mixer_impl.cc:103: delete mix_history_; Could you use a unique_ptr instead ...
4 years, 3 months ago (2016-09-01 11:59:11 UTC) #10
aleloi
https://codereview.webrtc.org/2294263002/diff/50001/webrtc/modules/audio_mixer/audio_mixer_impl.cc File webrtc/modules/audio_mixer/audio_mixer_impl.cc (right): https://codereview.webrtc.org/2294263002/diff/50001/webrtc/modules/audio_mixer/audio_mixer_impl.cc#newcode103 webrtc/modules/audio_mixer/audio_mixer_impl.cc:103: delete mix_history_; On 2016/09/01 11:59:11, kwiberg-webrtc wrote: > Could ...
4 years, 3 months ago (2016-09-01 13:36:17 UTC) #11
kwiberg-webrtc
https://codereview.webrtc.org/2294263002/diff/50001/webrtc/modules/audio_mixer/audio_mixer_impl.cc File webrtc/modules/audio_mixer/audio_mixer_impl.cc (right): https://codereview.webrtc.org/2294263002/diff/50001/webrtc/modules/audio_mixer/audio_mixer_impl.cc#newcode363 webrtc/modules/audio_mixer/audio_mixer_impl.cc:363: for (const auto audio_source : audio_source_list_) { On 2016/09/01 ...
4 years, 3 months ago (2016-09-01 19:46:33 UTC) #12
ivoc
lgtm, sorry for the delay. See one remark below. https://codereview.webrtc.org/2294263002/diff/150001/webrtc/modules/audio_mixer/audio_mixer_impl.cc File webrtc/modules/audio_mixer/audio_mixer_impl.cc (right): https://codereview.webrtc.org/2294263002/diff/150001/webrtc/modules/audio_mixer/audio_mixer_impl.cc#newcode104 webrtc/modules/audio_mixer/audio_mixer_impl.cc:104: ...
4 years, 3 months ago (2016-09-07 11:33:45 UTC) #13
aleloi
https://codereview.webrtc.org/2294263002/diff/150001/webrtc/modules/audio_mixer/audio_mixer_impl.cc File webrtc/modules/audio_mixer/audio_mixer_impl.cc (right): https://codereview.webrtc.org/2294263002/diff/150001/webrtc/modules/audio_mixer/audio_mixer_impl.cc#newcode104 webrtc/modules/audio_mixer/audio_mixer_impl.cc:104: delete mix_history_; On 2016/09/07 11:33:45, ivoc wrote: > How ...
4 years, 3 months ago (2016-09-07 11:38:11 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2294263002/150001
4 years, 3 months ago (2016-09-07 15:39:30 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/10783)
4 years, 3 months ago (2016-09-07 15:50:05 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2294263002/150001
4 years, 3 months ago (2016-09-08 08:17:51 UTC) #23
commit-bot: I haz the power
Committed patchset #8 (id:150001)
4 years, 3 months ago (2016-09-08 08:25:49 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 08:26:00 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/a4c2106120e693d7e928454dfb1d26954d972e12
Cr-Commit-Position: refs/heads/master@{#14120}

Powered by Google App Engine
This is Rietveld 408576698