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

Issue 61603006: Remove MediaSourcePrivate/SourceBufferPrivate (Closed)

Created:
7 years, 1 month ago by philipj_slow
Modified:
7 years, 1 month ago
CC:
blink-reviews, jamesr, krit, dsinclair, philipj_slow, abarth-chromium, danakj, feature-media-reviews_chromium.org, dglazkov+blink, Rik, adamk+blink_chromium.org, Stephen Chennney, pdr., rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Remove MediaSourcePrivate/SourceBufferPrivate These layers are just proxies for the Web* variants. BUG=317353 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161859

Patch Set 1 #

Total comments: 11

Patch Set 2 : fix nits #

Total comments: 2

Patch Set 3 : rebase #

Total comments: 4

Patch Set 4 : assert null #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -523 lines) Patch
M Source/core/html/HTMLMediaSource.h View 1 2 chunks +5 lines, -2 lines 0 comments Download
M Source/core/html/TimeRanges.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/html/TimeRanges.cpp View 1 1 chunk +11 lines, -0 lines 0 comments Download
M Source/core/html/TimeRangesTest.cpp View 1 1 chunk +10 lines, -0 lines 0 comments Download
D Source/core/platform/graphics/MediaSourcePrivate.h View 1 chunk +0 lines, -57 lines 0 comments Download
D Source/core/platform/graphics/SourceBufferPrivate.h View 1 chunk +0 lines, -54 lines 0 comments Download
M Source/modules/mediasource/MediaSource.cpp View 2 chunks +7 lines, -5 lines 0 comments Download
M Source/modules/mediasource/MediaSourceBase.h View 1 3 chunks +8 lines, -4 lines 0 comments Download
M Source/modules/mediasource/MediaSourceBase.cpp View 1 2 3 9 chunks +30 lines, -24 lines 0 comments Download
M Source/modules/mediasource/SourceBuffer.h View 5 chunks +7 lines, -4 lines 0 comments Download
M Source/modules/mediasource/SourceBuffer.cpp View 1 2 13 chunks +22 lines, -18 lines 0 comments Download
M Source/modules/mediasource/WebKitMediaSource.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M Source/modules/mediasource/WebKitSourceBuffer.h View 2 chunks +7 lines, -4 lines 0 comments Download
M Source/modules/mediasource/WebKitSourceBuffer.cpp View 1 6 chunks +14 lines, -12 lines 0 comments Download
M Source/web/AssertMatchingEnums.cpp View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
D Source/web/MediaSourcePrivateImpl.h View 1 chunk +0 lines, -60 lines 0 comments Download
D Source/web/MediaSourcePrivateImpl.cpp View 1 chunk +0 lines, -94 lines 0 comments Download
D Source/web/SourceBufferPrivateImpl.h View 1 chunk +0 lines, -64 lines 0 comments Download
D Source/web/SourceBufferPrivateImpl.cpp View 1 chunk +0 lines, -93 lines 0 comments Download
M Source/web/WebMediaPlayerClientImpl.cpp View 1 3 chunks +3 lines, -11 lines 0 comments Download
M Source/web/web.gypi View 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
philipj_slow
PTAL, with particular attention to lifetime and ownership, sine I could mess that up without ...
7 years, 1 month ago (2013-11-10 16:19:42 UTC) #1
acolwell GONE FROM CHROMIUM
LGTM % comments. Thanks for doing this. https://codereview.chromium.org/61603006/diff/1/Source/core/html/HTMLMediaSource.h File Source/core/html/HTMLMediaSource.h (right): https://codereview.chromium.org/61603006/diff/1/Source/core/html/HTMLMediaSource.h#newcode62 Source/core/html/HTMLMediaSource.h:62: virtual void ...
7 years, 1 month ago (2013-11-11 18:06:54 UTC) #2
philipj_slow
Aaron, can you take another look, in particular at the null check I didn't bring ...
7 years, 1 month ago (2013-11-12 09:43:50 UTC) #3
acolwell GONE FROM CHROMIUM
lgtm 2 https://codereview.chromium.org/61603006/diff/1/Source/web/SourceBufferPrivateImpl.cpp File Source/web/SourceBufferPrivateImpl.cpp (left): https://codereview.chromium.org/61603006/diff/1/Source/web/SourceBufferPrivateImpl.cpp#oldcode75 Source/web/SourceBufferPrivateImpl.cpp:75: if (!m_sourceBuffer) On 2013/11/12 09:43:51, philipj wrote: ...
7 years, 1 month ago (2013-11-12 18:25:17 UTC) #4
philipj_slow
Thanks Aaron, handing over to commit queue now... https://codereview.chromium.org/61603006/diff/1/Source/web/SourceBufferPrivateImpl.cpp File Source/web/SourceBufferPrivateImpl.cpp (left): https://codereview.chromium.org/61603006/diff/1/Source/web/SourceBufferPrivateImpl.cpp#oldcode75 Source/web/SourceBufferPrivateImpl.cpp:75: if ...
7 years, 1 month ago (2013-11-12 19:47:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/61603006/100001
7 years, 1 month ago (2013-11-12 19:48:37 UTC) #6
commit-bot: I haz the power
Failed to apply patch for Source/modules/mediasource/SourceBuffer.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-12 19:49:02 UTC) #7
philipj_slow
Adam, do you approve?
7 years, 1 month ago (2013-11-12 20:18:42 UTC) #8
philipj_slow
Adam, do you approve?
7 years, 1 month ago (2013-11-12 20:18:42 UTC) #9
adamk
lgtm with a few ASSERTS. I very much approve! https://codereview.chromium.org/61603006/diff/190001/Source/modules/mediasource/MediaSourceBase.cpp File Source/modules/mediasource/MediaSourceBase.cpp (right): https://codereview.chromium.org/61603006/diff/190001/Source/modules/mediasource/MediaSourceBase.cpp#newcode276 Source/modules/mediasource/MediaSourceBase.cpp:276: ...
7 years, 1 month ago (2013-11-12 20:59:19 UTC) #10
philipj_slow
That's it, thanks Aaron and Adam! https://codereview.chromium.org/61603006/diff/190001/Source/modules/mediasource/MediaSourceBase.cpp File Source/modules/mediasource/MediaSourceBase.cpp (right): https://codereview.chromium.org/61603006/diff/190001/Source/modules/mediasource/MediaSourceBase.cpp#newcode276 Source/modules/mediasource/MediaSourceBase.cpp:276: case WebMediaSource::AddStatusNotSupported: On ...
7 years, 1 month ago (2013-11-12 22:13:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/61603006/250001
7 years, 1 month ago (2013-11-12 22:15:36 UTC) #12
commit-bot: I haz the power
7 years, 1 month ago (2013-11-12 23:53:24 UTC) #13
Message was sent while issue was closed.
Change committed as 161859

Powered by Google App Engine
This is Rietveld 408576698