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

Issue 2590823007: Clean up and refactor platform/AudioDestination (Closed)

Created:
4 years ago by hongchan
Modified:
3 years, 11 months ago
Reviewers:
Raymond Toy
CC:
chromium-reviews, blink-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up and refactor platform/AudioDestination - Code clean up, refactoring and reordering. - Add/update the comment. Some of them are irrelevant or out-of-date. BUG=676386 Committed: https://crrev.com/c44e4f0a2120f24a6701298868befa1b2adc1ce8 Cr-Commit-Position: refs/heads/master@{#441270}

Patch Set 1 : Refactor, clean up and more comments #

Patch Set 2 : Remove redundant initializers #

Total comments: 28

Patch Set 3 : Addressing feedback 1 #

Total comments: 3

Patch Set 4 : Addressing feedback 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -145 lines) Patch
M third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/audio/AudioDestination.h View 1 2 3 3 chunks +27 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/platform/audio/AudioDestination.cpp View 1 2 3 4 chunks +119 lines, -111 lines 0 comments Download

Messages

Total messages: 36 (18 generated)
hongchan
PTAL.
4 years ago (2016-12-22 16:23:46 UTC) #11
Raymond Toy
Please don't reorder things unless they need to be. It makes reviewing much harder. Also, ...
4 years ago (2016-12-22 17:00:00 UTC) #12
hongchan
This is a clean up, refactoring, reordering CL as I mentioned. The ordering does not ...
4 years ago (2016-12-22 17:19:50 UTC) #13
Raymond Toy
https://codereview.chromium.org/2590823007/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.h File third_party/WebKit/Source/platform/audio/AudioDestination.h (right): https://codereview.chromium.org/2590823007/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.h#newcode85 third_party/WebKit/Source/platform/audio/AudioDestination.h:85: bool isPlaying() { return m_isPlaying; } On 2016/12/22 17:19:49, ...
4 years ago (2016-12-22 17:29:38 UTC) #14
Raymond Toy
On 2016/12/22 17:19:50, hongchan wrote: > This is a clean up, refactoring, reordering CL as ...
4 years ago (2016-12-22 17:32:20 UTC) #15
hongchan
On 2016/12/22 17:32:20, Raymond Toy wrote: > On 2016/12/22 17:19:50, hongchan wrote: > > This ...
4 years ago (2016-12-22 17:37:56 UTC) #16
Raymond Toy
On 2016/12/22 17:37:56, hongchan wrote: > On 2016/12/22 17:32:20, Raymond Toy wrote: > > On ...
4 years ago (2016-12-22 18:05:14 UTC) #17
hongchan
On 2016/12/22 18:05:14, Raymond Toy wrote: > On 2016/12/22 17:37:56, hongchan wrote: > > On ...
4 years ago (2016-12-22 18:09:48 UTC) #18
Raymond Toy
On 2016/12/22 18:09:48, hongchan wrote: > On 2016/12/22 18:05:14, Raymond Toy wrote: > > On ...
4 years ago (2016-12-22 18:22:18 UTC) #19
Raymond Toy
https://codereview.chromium.org/2590823007/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.cpp File third_party/WebKit/Source/platform/audio/AudioDestination.cpp (left): https://codereview.chromium.org/2590823007/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.cpp#oldcode73 third_party/WebKit/Source/platform/audio/AudioDestination.cpp:73: m_outputPosition() { What happened to this initializer? https://codereview.chromium.org/2590823007/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.cpp File ...
4 years ago (2016-12-22 18:38:40 UTC) #20
hongchan
https://codereview.chromium.org/2590823007/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.cpp File third_party/WebKit/Source/platform/audio/AudioDestination.cpp (left): https://codereview.chromium.org/2590823007/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.cpp#oldcode73 third_party/WebKit/Source/platform/audio/AudioDestination.cpp:73: m_outputPosition() { On 2016/12/22 18:38:39, Raymond Toy wrote: > ...
4 years ago (2016-12-22 18:59:46 UTC) #21
Raymond Toy
https://codereview.chromium.org/2590823007/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.h File third_party/WebKit/Source/platform/audio/AudioDestination.h (right): https://codereview.chromium.org/2590823007/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.h#newcode89 third_party/WebKit/Source/platform/audio/AudioDestination.h:89: static float hardwareSampleRate(); On 2016/12/22 18:59:46, hongchan wrote: > ...
3 years, 12 months ago (2016-12-22 21:46:07 UTC) #22
hongchan
https://codereview.chromium.org/2590823007/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.h File third_party/WebKit/Source/platform/audio/AudioDestination.h (right): https://codereview.chromium.org/2590823007/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.h#newcode89 third_party/WebKit/Source/platform/audio/AudioDestination.h:89: static float hardwareSampleRate(); On 2016/12/22 21:46:06, Raymond Toy wrote: ...
3 years, 11 months ago (2017-01-03 18:50:26 UTC) #23
Raymond Toy
lgtm
3 years, 11 months ago (2017-01-03 23:03:57 UTC) #24
Raymond Toy
lgtm
3 years, 11 months ago (2017-01-03 23:03:59 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2590823007/60001
3 years, 11 months ago (2017-01-04 00:45:12 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:60001)
3 years, 11 months ago (2017-01-04 00:51:17 UTC) #34
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 00:53:51 UTC) #36
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c44e4f0a2120f24a6701298868befa1b2adc1ce8
Cr-Commit-Position: refs/heads/master@{#441270}

Powered by Google App Engine
This is Rietveld 408576698