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

Issue 2891683002: Remove ScopedVector from all other codes in media/ (Closed)

Created:
3 years, 7 months ago by xiaofengzhang
Modified:
3 years, 7 months ago
Reviewers:
bbudge, xhwang, alokp
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, posciak+watch_chromium.org, yzshen+watch_chromium.org, apacible+watch_chromium.org, alokp+watch_chromium.org, mfoltz+watch_chromium.org, mlamouri+watch-media_chromium.org, miu+watch_chromium.org, toyoshim+midi_chromium.org, lcwu+watch_chromium.org, jam, abarth-chromium, eme-reviews_chromium.org, darin-cc_chromium.org, halliwell+watch_chromium.org, xjz+watch_chromium.org, mlamouri+watch-content_chromium.org, feature-media-reviews_chromium.org, piman+watch_chromium.org, avayvod+watch_chromium.org, Aaron Boodman, darin (slow to review), erickung+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ScopedVector from all other codes in media/ base::ScopedVector is deprecated, see bug. BUG=554289, 588249 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2891683002 Cr-Commit-Position: refs/heads/master@{#472700} Committed: https://chromium.googlesource.com/chromium/src/+/60c246a6e0e6e0423d8b183c6143f9ce3e18b091

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address alokp and xhwang's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -111 lines) Patch
M chromecast/media/cdm/cast_cdm.cc View 1 2 chunks +3 lines, -5 lines 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.cc View 2 chunks +2 lines, -1 line 0 comments Download
M media/base/android/media_drm_bridge.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M media/base/content_decryption_module.h View 2 chunks +1 line, -2 lines 0 comments Download
M media/blink/cdm_session_adapter.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/blink/webcontentdecryptionmodulesession_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/aes_decryptor.cc View 2 chunks +3 lines, -1 line 0 comments Download
M media/cdm/aes_decryptor_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/cdm_adapter.cc View 2 chunks +2 lines, -1 line 0 comments Download
M media/cdm/ppapi/external_clear_key/clear_key_cdm.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M media/formats/webm/opus_packet_builder.h View 2 chunks +1 line, -2 lines 0 comments Download
M media/formats/webm/opus_packet_builder.cc View 1 3 chunks +7 lines, -5 lines 0 comments Download
M media/formats/webm/webm_cluster_parser_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/gpu/jpeg_decode_accelerator_unittest.cc View 6 chunks +11 lines, -10 lines 0 comments Download
M media/gpu/video_encode_accelerator_unittest.cc View 11 chunks +22 lines, -21 lines 0 comments Download
M media/midi/midi_device_android.h View 3 chunks +8 lines, -5 lines 0 comments Download
M media/midi/midi_device_android.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M media/midi/midi_manager_android.h View 2 chunks +1 line, -2 lines 0 comments Download
M media/midi/midi_manager_android.cc View 3 chunks +16 lines, -14 lines 0 comments Download
M media/midi/midi_manager_unittest.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M media/midi/midi_manager_usb.h View 2 chunks +4 lines, -3 lines 0 comments Download
M media/midi/midi_manager_usb.cc View 1 5 chunks +7 lines, -5 lines 0 comments Download
M media/midi/midi_manager_usb_unittest.cc View 1 7 chunks +7 lines, -7 lines 0 comments Download
M media/midi/usb_midi_device.h View 2 chunks +1 line, -2 lines 0 comments Download
M media/midi/usb_midi_device_factory_android.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M media/mojo/clients/mojo_cdm.cc View 1 chunk +1 line, -2 lines 0 comments Download
M media/mojo/services/mojo_cdm_service.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/remoting/proto_utils.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (16 generated)
xiaofengzhang
Hi xhwang, please help to review, thanks!
3 years, 7 months ago (2017-05-17 08:54:48 UTC) #7
xiaofengzhang
alokp@, could you help to review as the owner of chromecast/media/cdm/cast_cdm.cc? Thanks. bbudge@ could you ...
3 years, 7 months ago (2017-05-17 09:00:39 UTC) #9
alokp
chromecast/ lgtm % nit https://codereview.chromium.org/2891683002/diff/1/chromecast/media/cdm/cast_cdm.cc File chromecast/media/cdm/cast_cdm.cc (right): https://codereview.chromium.org/2891683002/diff/1/chromecast/media/cdm/cast_cdm.cc#newcode159 chromecast/media/cdm/cast_cdm.cc:159: auto cdm_key_information(base::MakeUnique<::media::CdmKeyInformation>( nit: the two ...
3 years, 7 months ago (2017-05-17 12:07:02 UTC) #10
bbudge
content/renderer/pepper lgtm
3 years, 7 months ago (2017-05-17 13:00:40 UTC) #11
xhwang
Thank you again for working on this! Code health is very important and I am ...
3 years, 7 months ago (2017-05-17 16:39:45 UTC) #12
xiaofengzhang
xhwang@, please help review again. https://codereview.chromium.org/2891683002/diff/1/chromecast/media/cdm/cast_cdm.cc File chromecast/media/cdm/cast_cdm.cc (right): https://codereview.chromium.org/2891683002/diff/1/chromecast/media/cdm/cast_cdm.cc#newcode159 chromecast/media/cdm/cast_cdm.cc:159: auto cdm_key_information(base::MakeUnique<::media::CdmKeyInformation>( On 2017/05/17 ...
3 years, 7 months ago (2017-05-18 05:43:27 UTC) #17
xhwang
lgtm
3 years, 7 months ago (2017-05-18 05:59:22 UTC) #18
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/2891683002/20001
3 years, 7 months ago (2017-05-18 06:01:25 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/60c246a6e0e6e0423d8b183c6143f9ce3e18b091
3 years, 7 months ago (2017-05-18 06:11:29 UTC) #25
Greg Levin
3 years, 7 months ago (2017-05-18 15:17:35 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2893953002/ by glevin@chromium.org.

The reason for reverting is: Changes to jpeg_decode_accelerator_unittest.cc
don't compile in build target "jpeg_decode_accelerator_unittest"..

Powered by Google App Engine
This is Rietveld 408576698