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

Issue 149573: Refactor WritableBuffer interface for more useful ptr management. (Closed)

Created:
11 years, 5 months ago by kylep
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, fbarchard, Alpha Left Google, kylep, awong, brettw
Visibility:
Public.

Description

Refactor WritableBuffer interface for more useful ptr management. BUG=16011 TEST=DataBuffer unittest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20821

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 16

Patch Set 3 : '' #

Total comments: 11

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -70 lines) Patch
M media/base/buffer_queue_unittest.cc View 1 2 3 4 5 6 1 chunk +9 lines, -6 lines 0 comments Download
M media/base/buffers.h View 1 2 1 chunk +6 lines, -9 lines 0 comments Download
M media/base/data_buffer.h View 1 2 3 4 1 chunk +12 lines, -4 lines 0 comments Download
M media/base/data_buffer.cc View 1 2 3 4 2 chunks +21 lines, -17 lines 0 comments Download
M media/base/data_buffer_unittest.cc View 1 2 3 4 5 2 chunks +32 lines, -17 lines 0 comments Download
M media/filters/audio_renderer_algorithm_default.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/audio_renderer_algorithm_ola.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 2 3 4 3 chunks +3 lines, -5 lines 0 comments Download
M media/tools/wav_ola_test.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
kylep
Review please! This change is so I don't have to change AudioRendererBase's FillBuffer() signature.
11 years, 5 months ago (2009-07-13 22:21:51 UTC) #1
scherkus (not reviewing)
sorry it took a bit of time getting to, but looks great! few nits on ...
11 years, 5 months ago (2009-07-14 00:52:45 UTC) #2
kylep
http://codereview.chromium.org/149573/diff/28/1013 File media/base/buffers.h (right): http://codereview.chromium.org/149573/diff/28/1013#newcode109 Line 109: // to the |buffer_size| passed in the ctor. ...
11 years, 5 months ago (2009-07-14 17:33:19 UTC) #3
scherkus (not reviewing)
http://codereview.chromium.org/149573/diff/28/1008 File media/filters/ffmpeg_audio_decoder.cc (right): http://codereview.chromium.org/149573/diff/28/1008#newcode110 Line 110: uint8* data = new uint8[output_buffer_size]; On 2009/07/14 17:33:19, ...
11 years, 5 months ago (2009-07-14 18:46:01 UTC) #4
scherkus (not reviewing)
Also fix up your changelist description: WrittableBuffer -> WritableBuffer Add TEST= and BUG= fields (can ...
11 years, 5 months ago (2009-07-14 18:54:27 UTC) #5
awong
couple small comments. http://codereview.chromium.org/149573/diff/28/1008 File media/filters/ffmpeg_audio_decoder.cc (right): http://codereview.chromium.org/149573/diff/28/1008#newcode110 Line 110: uint8* data = new uint8[output_buffer_size]; ...
11 years, 5 months ago (2009-07-14 19:43:37 UTC) #6
scherkus (not reviewing)
On 2009/07/14 19:43:37, awong wrote: > couple small comments. > > http://codereview.chromium.org/149573/diff/28/1008 > File media/filters/ffmpeg_audio_decoder.cc ...
11 years, 5 months ago (2009-07-14 20:12:55 UTC) #7
kylep
http://codereview.chromium.org/149573/diff/35/1029 File media/base/data_buffer.h (right): http://codereview.chromium.org/149573/diff/35/1029#newcode20 Line 20: DataBuffer(uint8* buffer, size_t buffer_size); On 2009/07/14 19:43:38, awong ...
11 years, 5 months ago (2009-07-14 22:51:43 UTC) #8
scherkus (not reviewing)
LGTM with some nits http://codereview.chromium.org/149573/diff/44/51 File media/base/data_buffer.cc (right): http://codereview.chromium.org/149573/diff/44/51#newcode19 Line 19: data_size_(buffer_size) { nit: data_size_ ...
11 years, 5 months ago (2009-07-15 02:17:24 UTC) #9
kylep
I made some more minor changes when I added to data_buffer_unittest.cc Some of the EXPECT_EQ ...
11 years, 5 months ago (2009-07-15 17:21:22 UTC) #10
scherkus (not reviewing)
11 years, 5 months ago (2009-07-15 20:40:47 UTC) #11
LGTM

Powered by Google App Engine
This is Rietveld 408576698