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

Issue 17408005: Refactored DecoderBuffer to use unix_hacker_style naming. (Closed)

Created:
7 years, 6 months ago by Ty Overby
Modified:
7 years, 5 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@localrefactor
Visibility:
Public.

Description

TBR: dmichael Refactored DecoderBuffer to use unix_hacker_style naming. DecoderBuffer went from having pure virtual methods to having concrete implementations. However, the style of the method name remained in UpperCamelCase. This patch renames the methods to fit with the unix_hacker_style that is used for concrete implementations. BUG=251986 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212375

Patch Set 1 #

Total comments: 8

Patch Set 2 : Merged changes from the patch on DataBuffer #

Patch Set 3 : Fixed accidental test case renaming #

Patch Set 4 : Fixed accidental renamings #

Patch Set 5 : Fixed style to adhere with the chromium project guide #

Patch Set 6 : Fixed naming error that somehow got reverted" #

Total comments: 7

Patch Set 7 : fixed remaining style issues #

Total comments: 2

Patch Set 8 : Fixed two instances of find & replace changing the wrong code. #

Patch Set 9 : #

Total comments: 4

Patch Set 10 : inlined getters and setters. Removed random parens #

Patch Set 11 : Rebased against origin/master #

Total comments: 8

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Patch Set 18 : #

Patch Set 19 : #

Patch Set 20 : rebased. attempt to rebuild #

Patch Set 21 : #

Patch Set 22 : #

Patch Set 23 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+405 lines, -421 lines) Patch
M content/renderer/media/android/media_source_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +12 lines, -12 lines 0 comments Download
M media/audio/win/audio_low_latency_output_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M media/base/android/media_source_player_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +6 lines, -6 lines 0 comments Download
M media/base/decoder_buffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +61 lines, -21 lines 0 comments Download
M media/base/decoder_buffer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -60 lines 0 comments Download
M media/base/decoder_buffer_queue.cc View 1 2 chunks +8 lines, -8 lines 0 comments Download
M media/base/decoder_buffer_queue_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/base/decoder_buffer_unittest.cc View 1 4 chunks +25 lines, -25 lines 0 comments Download
M media/base/stream_parser_buffer.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M media/base/test_data_util.cc View 1 3 chunks +6 lines, -7 lines 0 comments Download
M media/base/test_helpers.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -4 lines 0 comments Download
M media/crypto/aes_decryptor.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +18 lines, -18 lines 0 comments Download
M media/crypto/aes_decryptor_unittest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +8 lines, -8 lines 0 comments Download
M media/filters/audio_file_reader_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/filters/chunk_demuxer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +6 lines, -6 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +42 lines, -42 lines 0 comments Download
M media/filters/decrypting_audio_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -5 lines 0 comments Download
M media/filters/decrypting_audio_decoder_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M media/filters/decrypting_demuxer_stream.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/filters/decrypting_demuxer_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -3 lines 0 comments Download
M media/filters/decrypting_video_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 20 21 2 chunks +3 lines, -3 lines 0 comments Download
M media/filters/decrypting_video_decoder_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 20 21 1 chunk +1 line, -1 line 0 comments Download
M media/filters/fake_demuxer_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M media/filters/fake_demuxer_stream_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/fake_video_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 20 21 22 1 chunk +4 lines, -4 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +23 lines, -22 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -7 lines 0 comments Download
M media/filters/ffmpeg_demuxer_unittest.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download
M media/filters/ffmpeg_glue_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 20 21 4 chunks +7 lines, -7 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 20 21 4 chunks +5 lines, -5 lines 0 comments Download
M media/filters/opus_audio_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +16 lines, -16 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 11 chunks +14 lines, -14 lines 0 comments Download
M media/filters/source_buffer_stream.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M media/filters/source_buffer_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +9 lines, -9 lines 0 comments Download
M media/filters/video_frame_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 20 21 1 chunk +1 line, -1 line 0 comments Download
M media/filters/video_frame_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 20 21 1 chunk +3 lines, -3 lines 0 comments Download
M media/filters/vpx_video_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 20 21 4 chunks +11 lines, -10 lines 0 comments Download
M media/mp4/mp4_stream_parser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -3 lines 0 comments Download
M media/mp4/mp4_stream_parser_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +16 lines, -16 lines 0 comments Download
M media/tools/demuxer_bench/demuxer_bench.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M media/tools/seek_tester/seek_tester.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M media/webm/webm_cluster_parser.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M media/webm/webm_cluster_parser_unittest.cc View 1 3 chunks +9 lines, -9 lines 0 comments Download
M webkit/plugins/ppapi/content_decryptor_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 8 chunks +12 lines, -12 lines 0 comments Download
M webkit/renderer/media/crypto/ppapi/clear_key_cdm.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +16 lines, -16 lines 0 comments Download

Messages

Total messages: 44 (0 generated)
Ty Overby
In response to Issue 251986, this patch refactors DecoderBuffer to fit with the google style ...
7 years, 6 months ago (2013-06-20 21:08:42 UTC) #1
scherkus (not reviewing)
https://codereview.chromium.org/17408005/diff/1/media/base/decoder_buffer.h File media/base/decoder_buffer.h (right): https://codereview.chromium.org/17408005/diff/1/media/base/decoder_buffer.h#newcode48 media/base/decoder_buffer.h:48: static scoped_refptr<DecoderBuffer> copy_from(const uint8* data, int size); whoops! you ...
7 years, 6 months ago (2013-06-20 21:26:59 UTC) #2
Ty Overby
Fixed previous refactor and accidental find/replace.
7 years, 6 months ago (2013-06-21 17:58:18 UTC) #3
scherkus (not reviewing)
fix all the if formatting stuff
7 years, 6 months ago (2013-06-21 20:02:20 UTC) #4
Ty Overby
Style is now done according to the chromium style guide.
7 years, 6 months ago (2013-06-21 20:58:45 UTC) #5
scherkus (not reviewing)
few more accidental things slipped through https://codereview.chromium.org/17408005/diff/22001/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): https://codereview.chromium.org/17408005/diff/22001/media/filters/chunk_demuxer.cc#newcode53 media/filters/chunk_demuxer.cc:53: TimeDelta GetTimestampOffset() const ...
7 years, 6 months ago (2013-06-22 00:09:28 UTC) #6
scherkus (not reviewing)
two tiny nits https://codereview.chromium.org/17408005/diff/28001/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): https://codereview.chromium.org/17408005/diff/28001/media/filters/chunk_demuxer.cc#newcode53 media/filters/chunk_demuxer.cc:53: TimeDelta GetTimestampOffset() const { whoops -- ...
7 years, 6 months ago (2013-06-22 00:39:17 UTC) #7
Ty Overby
Got rid of all the style changes and merged with the patch for DataBuffer.
7 years, 6 months ago (2013-06-25 18:51:44 UTC) #8
Ty Overby
brettw, ping for review.
7 years, 5 months ago (2013-07-08 23:24:20 UTC) #9
scherkus (not reviewing)
https://codereview.chromium.org/17408005/diff/35001/media/base/decoder_buffer.h File media/base/decoder_buffer.h (right): https://codereview.chromium.org/17408005/diff/35001/media/base/decoder_buffer.h#newcode63 media/base/decoder_buffer.h:63: base::TimeDelta timestamp() const; these should all be inline as ...
7 years, 5 months ago (2013-07-08 23:30:35 UTC) #10
Ty Overby
PTAL https://codereview.chromium.org/17408005/diff/35001/media/base/decoder_buffer.h File media/base/decoder_buffer.h (right): https://codereview.chromium.org/17408005/diff/35001/media/base/decoder_buffer.h#newcode63 media/base/decoder_buffer.h:63: base::TimeDelta timestamp() const; On 2013/07/08 23:30:35, scherkus wrote: ...
7 years, 5 months ago (2013-07-09 00:50:29 UTC) #11
scherkus (not reviewing)
https://codereview.chromium.org/17408005/diff/45001/media/base/decoder_buffer.h File media/base/decoder_buffer.h (right): https://codereview.chromium.org/17408005/diff/45001/media/base/decoder_buffer.h#newcode94 media/base/decoder_buffer.h:94: remove extra blank line https://codereview.chromium.org/17408005/diff/45001/media/base/decoder_buffer.h#newcode101 media/base/decoder_buffer.h:101: remove extra blank ...
7 years, 5 months ago (2013-07-09 00:57:53 UTC) #12
Ty Overby
https://codereview.chromium.org/17408005/diff/45001/media/base/decoder_buffer.h File media/base/decoder_buffer.h (right): https://codereview.chromium.org/17408005/diff/45001/media/base/decoder_buffer.h#newcode94 media/base/decoder_buffer.h:94: On 2013/07/09 00:57:53, scherkus wrote: > remove extra blank ...
7 years, 5 months ago (2013-07-12 18:23:50 UTC) #13
scherkus (not reviewing)
lgtm
7 years, 5 months ago (2013-07-12 18:24:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/53001
7 years, 5 months ago (2013-07-12 21:41:51 UTC) #15
commit-bot: I haz the power
Failed to apply patch for media/filters/decrypting_audio_decoder.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-07-12 21:42:17 UTC) #16
scherkus (not reviewing)
lgtm++
7 years, 5 months ago (2013-07-13 01:11:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/62001
7 years, 5 months ago (2013-07-13 01:11:34 UTC) #18
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=15130
7 years, 5 months ago (2013-07-13 01:22:19 UTC) #19
Ty Overby
7 years, 5 months ago (2013-07-15 16:44:45 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/62001
7 years, 5 months ago (2013-07-15 16:48:49 UTC) #21
commit-bot: I haz the power
Failed to apply patch for media/filters/fake_demuxer_stream.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-07-15 16:48:59 UTC) #22
dmichael (off chromium)
webkit/plugins/ppapi lgtm
7 years, 5 months ago (2013-07-15 16:58:46 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/72001
7 years, 5 months ago (2013-07-15 17:47:45 UTC) #24
commit-bot: I haz the power
Failed to apply patch for content/browser/speech/speech_recognizer_impl_android.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-07-15 17:47:55 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/77001
7 years, 5 months ago (2013-07-15 18:16:08 UTC) #26
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-15 18:34:05 UTC) #27
scherkus (not reviewing)
On 2013/07/15 18:34:05, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 5 months ago (2013-07-15 19:26:56 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/99001
7 years, 5 months ago (2013-07-15 19:34:20 UTC) #29
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-15 20:24:18 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/108002
7 years, 5 months ago (2013-07-15 20:24:30 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/116001
7 years, 5 months ago (2013-07-15 21:15:34 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/127001
7 years, 5 months ago (2013-07-15 23:53:02 UTC) #33
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=59791
7 years, 5 months ago (2013-07-16 05:19:13 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/127001
7 years, 5 months ago (2013-07-16 17:06:06 UTC) #35
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=60395
7 years, 5 months ago (2013-07-16 18:34:47 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/151001
7 years, 5 months ago (2013-07-17 17:46:41 UTC) #37
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-17 19:33:39 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/170001
7 years, 5 months ago (2013-07-17 19:34:02 UTC) #39
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests, content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=149369
7 years, 5 months ago (2013-07-17 23:08:53 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/195001
7 years, 5 months ago (2013-07-17 23:39:27 UTC) #41
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=60883
7 years, 5 months ago (2013-07-18 04:51:16 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/17408005/195001
7 years, 5 months ago (2013-07-18 17:17:22 UTC) #43
commit-bot: I haz the power
7 years, 5 months ago (2013-07-18 18:49:45 UTC) #44
Message was sent while issue was closed.
Change committed as 212375

Powered by Google App Engine
This is Rietveld 408576698