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

Issue 1904213003: Convert //media/filters from scoped_ptr to std::unique_ptr (Closed)

Created:
4 years, 8 months ago by dcheng
Modified:
4 years, 8 months ago
Reviewers:
ddorwin
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert //media/filters from scoped_ptr to std::unique_ptr BUG=554298 R=ddorwin@chromium.org Committed: https://crrev.com/254c536ce14380dc8009240cfff27117a1d52897 Cr-Commit-Position: refs/heads/master@{#388991}

Patch Set 1 #

Total comments: 7

Patch Set 2 : remove include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -266 lines) Patch
M media/filters/android/media_codec_audio_decoder.h View 2 chunks +3 lines, -3 lines 0 comments Download
M media/filters/android/media_codec_audio_decoder.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M media/filters/audio_clock_unittest.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M media/filters/audio_decoder_selector_unittest.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M media/filters/audio_decoder_unittest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M media/filters/audio_file_reader.h View 2 chunks +3 lines, -2 lines 0 comments Download
M media/filters/audio_file_reader.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/audio_file_reader_unittest.cc View 4 chunks +8 lines, -6 lines 0 comments Download
M media/filters/audio_renderer_algorithm.h View 2 chunks +8 lines, -7 lines 0 comments Download
M media/filters/audio_renderer_algorithm_unittest.cc View 10 chunks +20 lines, -19 lines 0 comments Download
M media/filters/chunk_demuxer.h View 2 chunks +3 lines, -3 lines 0 comments Download
M media/filters/chunk_demuxer.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 27 chunks +45 lines, -44 lines 0 comments Download
M media/filters/decoder_selector.h View 3 chunks +6 lines, -6 lines 0 comments Download
M media/filters/decoder_selector.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M media/filters/decoder_stream.h View 2 chunks +6 lines, -6 lines 0 comments Download
M media/filters/decoder_stream.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/filters/decrypting_audio_decoder.h View 2 chunks +3 lines, -2 lines 0 comments Download
M media/filters/decrypting_audio_decoder_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M media/filters/decrypting_demuxer_stream_unittest.cc View 2 chunks +9 lines, -9 lines 0 comments Download
M media/filters/decrypting_video_decoder_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M media/filters/fake_video_decoder_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/ffmpeg_audio_decoder.h View 2 chunks +4 lines, -4 lines 0 comments Download
M media/filters/ffmpeg_demuxer.h View 7 chunks +10 lines, -10 lines 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 8 chunks +13 lines, -12 lines 0 comments Download
M media/filters/ffmpeg_demuxer_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M media/filters/ffmpeg_glue.h View 2 chunks +3 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_glue.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/ffmpeg_glue_unittest.cc View 3 chunks +8 lines, -6 lines 0 comments Download
M media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/ffmpeg_h265_to_annex_b_bitstream_converter.h View 2 chunks +3 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.h View 2 chunks +3 lines, -3 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/filters/frame_processor_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M media/filters/gpu_video_decoder.h View 3 chunks +5 lines, -5 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 5 chunks +9 lines, -8 lines 0 comments Download
M media/filters/h264_parser.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M media/filters/h264_to_annex_b_bitstream_converter_unittest.cc View 5 chunks +8 lines, -6 lines 0 comments Download
M media/filters/h265_parser.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M media/filters/media_source_state.h View 4 chunks +6 lines, -6 lines 0 comments Download
M media/filters/media_source_state.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M media/filters/memory_data_source_unittest.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M media/filters/opus_audio_decoder.h View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/pipeline_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/pipeline_controller_unittest.cc View 2 chunks +7 lines, -3 lines 0 comments Download
M media/filters/source_buffer_stream_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/stream_parser_factory.h View 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/stream_parser_factory.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/filters/video_cadence_estimator_unittest.cc View 3 chunks +6 lines, -4 lines 0 comments Download
M media/filters/video_decoder_selector_unittest.cc View 2 chunks +7 lines, -8 lines 0 comments Download
M media/filters/video_frame_stream_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M media/filters/video_renderer_algorithm_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/vp9_parser_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/vp9_raw_bits_reader.h View 2 chunks +3 lines, -2 lines 0 comments Download
M media/filters/wsola_internals.cc View 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
dcheng
4 years, 8 months ago (2016-04-21 22:24:11 UTC) #1
ddorwin
I stopped after my last comment. What pattern are you using for including <memory>? https://codereview.chromium.org/1904213003/diff/1/media/filters/chunk_demuxer.h ...
4 years, 8 months ago (2016-04-21 22:54:55 UTC) #2
dcheng
On 2016/04/21 at 22:54:55, ddorwin wrote: > I stopped after my last comment. What pattern ...
4 years, 8 months ago (2016-04-21 22:56:23 UTC) #3
ddorwin
LGTM. There's one file that I think you should just delete scoped_ptr.h (even if this ...
4 years, 8 months ago (2016-04-21 23:14:20 UTC) #4
dcheng
https://codereview.chromium.org/1904213003/diff/1/media/filters/h265_parser.cc File media/filters/h265_parser.cc (right): https://codereview.chromium.org/1904213003/diff/1/media/filters/h265_parser.cc#newcode9 media/filters/h265_parser.cc:9: #include <memory> On 2016/04/21 at 23:14:20, ddorwin wrote: > ...
4 years, 8 months ago (2016-04-21 23:16:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1904213003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1904213003/20001
4 years, 8 months ago (2016-04-21 23:16:50 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-22 01:12:58 UTC) #9
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:43:06 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/254c536ce14380dc8009240cfff27117a1d52897
Cr-Commit-Position: refs/heads/master@{#388991}

Powered by Google App Engine
This is Rietveld 408576698