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

Issue 23072043: Change NeedKeyCB to use std::vector. (Closed)

Created:
7 years, 4 months ago by acolwell GONE FROM CHROMIUM
Modified:
7 years, 3 months ago
Reviewers:
xhwang
CC:
chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, jam, darin-cc_chromium.org
Visibility:
Public.

Description

Change NeedKeyCB to use std::vector. Changes various NeedKeyCB instances to use std::vector<uint8> instead of a scoped_ptr<uint8[]> and a size parameter. TEST=All tests still pass. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219575

Patch Set 1 : #

Total comments: 26

Patch Set 2 : Fix Android build buster #

Patch Set 3 : Address CR comments #

Patch Set 4 : Fix seek_tester, demuxer_bench, and player_x11 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -86 lines) Patch
M content/renderer/media/android/media_source_delegate.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/media/android/media_source_delegate.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M media/base/demuxer.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M media/base/media_keys.h View 1 chunk +1 line, -2 lines 0 comments Download
M media/base/stream_parser.h View 1 chunk +1 line, -2 lines 0 comments Download
M media/filters/chunk_demuxer.h View 1 chunk +0 lines, -4 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M media/filters/ffmpeg_demuxer.h View 3 chunks +2 lines, -10 lines 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M media/filters/ffmpeg_demuxer_unittest.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 2 6 chunks +10 lines, -12 lines 0 comments Download
M media/filters/pipeline_integration_test_base.h View 1 chunk +2 lines, -2 lines 0 comments Download
M media/filters/pipeline_integration_test_base.cc View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
M media/mp4/mp4_stream_parser.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M media/mp4/mp4_stream_parser_unittest.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M media/tools/demuxer_bench/demuxer_bench.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M media/tools/player_x11/player_x11.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M media/tools/seek_tester/seek_tester.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M media/webm/webm_stream_parser.cc View 1 2 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
acolwell GONE FROM CHROMIUM
7 years, 4 months ago (2013-08-23 16:58:27 UTC) #1
xhwang
Thanks for the patch! It's long been in my TODO list... Most comments are about ...
7 years, 4 months ago (2013-08-23 17:24:36 UTC) #2
scherkus (not reviewing)
On 2013/08/23 17:24:36, xhwang wrote: > Thanks for the patch! It's long been in my ...
7 years, 4 months ago (2013-08-23 18:41:08 UTC) #3
xhwang
On 2013/08/23 18:41:08, scherkus wrote: > On 2013/08/23 17:24:36, xhwang wrote: > > Thanks for ...
7 years, 4 months ago (2013-08-23 19:10:55 UTC) #4
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/23072043/diff/2001/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/23072043/diff/2001/content/renderer/media/android/webmediaplayer_android.cc#newcode1149 content/renderer/media/android/webmediaplayer_android.cc:1149: &init_data[0], On 2013/08/23 17:24:37, xhwang wrote: > Is it ...
7 years, 4 months ago (2013-08-23 19:55:28 UTC) #5
xhwang
Thanks! LGTM!
7 years, 3 months ago (2013-08-26 16:09:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/23072043/22001
7 years, 3 months ago (2013-08-26 16:15:45 UTC) #7
commit-bot: I haz the power
7 years, 3 months ago (2013-08-26 18:50:46 UTC) #8
Message was sent while issue was closed.
Change committed as 219575

Powered by Google App Engine
This is Rietveld 408576698