|
Removing DataSource from Filter hierarchy and refactoring FilterHost into DemuxerHost & DataSourceHost.
Over the last year, several refactorings have caused DataSource to have almost nothing in common with the Filter interface. This change removes it from the Filter class hierarchy and splits up the FilterHost interface so that DataSource, Demuxer, and Filter have their own host interfaces. Splitting FilterHost improves encapsulation and makes it easier to reason about which host methods are required by different parts of the code.
BUG=
TEST=media_unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114819
Total comments: 32
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+375 lines, -223 lines) |
Patch |
|
M |
media/base/composite_filter.cc
|
View
|
|
3 chunks |
+0 lines, -37 lines |
0 comments
|
Download
|
|
A |
media/base/data_source.h
|
View
|
1
2
3
4
|
1 chunk |
+86 lines, -0 lines |
0 comments
|
Download
|
|
A |
media/base/data_source.cc
|
View
|
1
2
3
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/base/demuxer.h
|
View
|
1
2
3
4
|
2 chunks |
+33 lines, -12 lines |
0 comments
|
Download
|
|
M |
media/base/demuxer.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
media/base/filter_host.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -26 lines |
0 comments
|
Download
|
|
M |
media/base/filters.h
|
View
|
|
2 chunks |
+0 lines, -43 lines |
0 comments
|
Download
|
|
M |
media/base/filters.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
A |
media/base/mock_data_source_host.h
|
View
|
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
|
A |
media/base/mock_data_source_host.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
media/base/mock_demuxer_host.h
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
media/base/mock_demuxer_host.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/base/mock_filters.h
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/base/mock_filters.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/base/pipeline.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
media/base/pipeline_impl.h
|
View
|
1
2
3
|
2 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
|
M |
media/base/pipeline_impl.cc
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
A |
media/base/preload.h
|
View
|
1
2
3
4
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/filters/chunk_demuxer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/filters/chunk_demuxer.cc
|
View
|
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
media/filters/chunk_demuxer_unittest.cc
|
View
|
|
11 chunks |
+16 lines, -15 lines |
0 comments
|
Download
|
|
M |
media/filters/ffmpeg_demuxer.h
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/filters/ffmpeg_demuxer.cc
|
View
|
1
2
3
4
|
5 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
media/filters/ffmpeg_demuxer_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/filters/file_data_source.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
media/filters/file_data_source.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/filters/file_data_source_unittest.cc
|
View
|
|
4 chunks |
+3 lines, -13 lines |
0 comments
|
Download
|
|
M |
media/media.gyp
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -0 lines |
1 comment
|
Download
|
|
M |
webkit/media/buffered_data_source.h
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
webkit/media/buffered_data_source.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
webkit/media/buffered_data_source_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webkit/media/simple_data_source.h
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
webkit/media/simple_data_source.cc
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
webkit/media/simple_data_source_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webkit/media/web_data_source.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webkit/media/webmediaplayer_proxy.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|