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

Issue 10535101: Replace Pipeline::SetNetworkActivity() with BufferedDataSource -> WebMediaPlayerImpl callback. (Closed)

Created:
8 years, 6 months ago by Ami GONE FROM CHROMIUM
Modified:
8 years, 6 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, pam+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Replace Pipeline::SetNetworkActivity() with BufferedDataSource -> WebMediaPlayerImpl callback. This removes a bunch of plumbing that's completely unnecessary. Concretely: Before: BufferedResourceLoader -> BufferedDataSource -> DemuxerHost -> DataSourceHost -> Pipeline -> WebMediaPlayerImpl After: BufferedResourceLoader -> BufferedDataSource -> WebMediaPlayerImpl Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141619

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Total comments: 7

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -118 lines) Patch
M media/base/data_source.h View 1 chunk +0 lines, -3 lines 0 comments Download
M media/base/mock_data_source_host.h View 1 chunk +0 lines, -1 line 0 comments Download
M media/base/mock_demuxer_host.h View 1 chunk +0 lines, -1 line 0 comments Download
M media/base/pipeline.h View 7 chunks +0 lines, -18 lines 0 comments Download
M media/base/pipeline.cc View 5 chunks +1 line, -25 lines 0 comments Download
M media/base/pipeline_unittest.cc View 3 chunks +0 lines, -3 lines 0 comments Download
M media/filters/chunk_demuxer.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/pipeline_integration_test_base.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M media/tools/player_wtl/movie.cc View 1 chunk +0 lines, -1 line 0 comments Download
M media/tools/player_x11/player_x11.cc View 1 chunk +1 line, -2 lines 0 comments Download
M media/tools/seek_tester/seek_tester.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webkit/media/buffered_data_source.h View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M webkit/media/buffered_data_source.cc View 1 2 4 chunks +7 lines, -10 lines 0 comments Download
M webkit/media/buffered_data_source_unittest.cc View 1 2 4 chunks +12 lines, -5 lines 0 comments Download
M webkit/media/webmediaplayer_impl.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M webkit/media/webmediaplayer_impl.cc View 1 2 5 chunks +16 lines, -23 lines 0 comments Download
M webkit/media/webmediaplayer_proxy.h View 2 chunks +0 lines, -4 lines 0 comments Download
M webkit/media/webmediaplayer_proxy.cc View 3 chunks +0 lines, -12 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Ami GONE FROM CHROMIUM
8 years, 6 months ago (2012-06-10 21:05:07 UTC) #1
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10535101/diff/1/media/base/pipeline.cc File media/base/pipeline.cc (left): https://chromiumcodereview.appspot.com/10535101/diff/1/media/base/pipeline.cc#oldcode486 media/base/pipeline.cc:486: media_log_->AddEvent( Oops, forgot to move this to WMPI. New ...
8 years, 6 months ago (2012-06-10 21:43:46 UTC) #2
scherkus (not reviewing)
LGTM w/ nits me like I swore we had a bug for this filed but ...
8 years, 6 months ago (2012-06-12 02:55:04 UTC) #3
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10535101/diff/3001/webkit/media/buffered_data_source.cc File webkit/media/buffered_data_source.cc (right): https://chromiumcodereview.appspot.com/10535101/diff/3001/webkit/media/buffered_data_source.cc#newcode553 webkit/media/buffered_data_source.cc:553: if (!downloading_cb_.is_null()) On 2012/06/12 02:55:04, scherkus wrote: > all ...
8 years, 6 months ago (2012-06-12 03:42:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fischman@chromium.org/10535101/6002
8 years, 6 months ago (2012-06-12 03:44:22 UTC) #5
commit-bot: I haz the power
8 years, 6 months ago (2012-06-12 05:01:58 UTC) #6
Change committed as 141619

Powered by Google App Engine
This is Rietveld 408576698