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

Issue 88047: Buffered data source that does range request to provide data to media pipelin... (Closed)

Created:
11 years, 8 months ago by Alpha Left Google
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, fbarchard
Visibility:
Public.

Description

Buffered data source that does range request to provide data to media pipeline The implementation of buffered data source that uses buffered resource loader to download a media object and does buffering. This implementation knows when to do defer loading and when to restarts the loading. The implementation uses one buffered resource loading for one data source and does no connection recovery. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14818

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 69

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 50

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 10

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+874 lines, -1 line) Patch
M chrome/chrome.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/renderer/media/buffered_data_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +227 lines, -0 lines 0 comments Download
A chrome/renderer/media/buffered_data_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +635 lines, -0 lines 0 comments Download
M chrome/renderer/renderer.vcproj View 8 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/renderer/webmediaplayer_delegate_impl.cc View 8 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Alpha Left Google
I did a redesign of my prototype so it took some time to send this ...
11 years, 8 months ago (2009-04-21 19:10:31 UTC) #1
awong
Looks pretty good. Have some comments about memory ownership and locking. http://codereview.chromium.org/88047/diff/1009/1010 File chrome/renderer/media/buffered_data_source.cc (right): ...
11 years, 8 months ago (2009-04-21 20:05:30 UTC) #2
awong
http://codereview.chromium.org/88047/diff/1009/1010 File chrome/renderer/media/buffered_data_source.cc (right): http://codereview.chromium.org/88047/diff/1009/1010#newcode383 Line 383: if (stopped_) On 2009/04/21 20:05:31, awong wrote: > ...
11 years, 8 months ago (2009-04-21 20:37:23 UTC) #3
Alpha Left Google
http://codereview.chromium.org/88047/diff/1009/1010 File chrome/renderer/media/buffered_data_source.cc (right): http://codereview.chromium.org/88047/diff/1009/1010#newcode188 Line 188: return true; On 2009/04/21 20:05:31, awong wrote: > ...
11 years, 8 months ago (2009-04-21 21:06:11 UTC) #4
awong
http://codereview.chromium.org/88047/diff/1009/1010 File chrome/renderer/media/buffered_data_source.cc (right): http://codereview.chromium.org/88047/diff/1009/1010#newcode188 Line 188: return true; On 2009/04/21 21:06:11, Alpha wrote: > ...
11 years, 8 months ago (2009-04-21 21:32:10 UTC) #5
scherkus (not reviewing)
looking good but please please please write a unit test for your HttpResponseHeaders change... your ...
11 years, 8 months ago (2009-04-21 21:36:31 UTC) #6
Alpha Left Google
http://codereview.chromium.org/88047/diff/1009/1010 File chrome/renderer/media/buffered_data_source.cc (right): http://codereview.chromium.org/88047/diff/1009/1010#newcode21 Line 21: const char* kHttpScheme = "http"; On 2009/04/21 21:36:31, ...
11 years, 8 months ago (2009-04-21 22:20:08 UTC) #7
Alpha Left Google
I forgot that initialization needs to be asynchronous, I've changed some code so that BufferedResourceLoader::Start() ...
11 years, 8 months ago (2009-04-23 02:08:58 UTC) #8
Alpha Left Google
On 2009/04/23 02:08:58, Alpha wrote: > I forgot that initialization needs to be asynchronous, I've ...
11 years, 8 months ago (2009-04-23 02:41:41 UTC) #9
eroman
some driveby comments http://codereview.chromium.org/88047/diff/5005/4005 File chrome/renderer/media/buffered_data_source.cc (right): http://codereview.chromium.org/88047/diff/5005/4005#newcode24 Line 24: const int kPositionNotSpecified = -1; ...
11 years, 8 months ago (2009-04-23 22:51:39 UTC) #10
Alpha Left Google
Sorry for fixing this CL late. http://codereview.chromium.org/88047/diff/5005/4005 File chrome/renderer/media/buffered_data_source.cc (right): http://codereview.chromium.org/88047/diff/5005/4005#newcode24 Line 24: const int ...
11 years, 8 months ago (2009-04-28 18:56:36 UTC) #11
eroman
thanks for making those changes; a couple more nits. http://codereview.chromium.org/88047/diff/9007/8005 File chrome/renderer/media/buffered_data_source.cc (right): http://codereview.chromium.org/88047/diff/9007/8005#newcode440 Line ...
11 years, 8 months ago (2009-04-28 19:40:18 UTC) #12
Alpha Left Google
http://codereview.chromium.org/88047/diff/9007/8005 File chrome/renderer/media/buffered_data_source.cc (right): http://codereview.chromium.org/88047/diff/9007/8005#newcode440 Line 440: start_callback_->RunWithParams(Tuple1<int>(error)); On 2009/04/28 19:40:18, eroman wrote: > or ...
11 years, 8 months ago (2009-04-28 20:28:00 UTC) #13
scherkus (not reviewing)
just missing some notifications for the filter host http://codereview.chromium.org/88047/diff/9007/8005 File chrome/renderer/media/buffered_data_source.cc (right): http://codereview.chromium.org/88047/diff/9007/8005#newcode615 Line 615: ...
11 years, 8 months ago (2009-04-28 21:46:28 UTC) #14
Alpha Left Google
http://codereview.chromium.org/88047/diff/9007/8005 File chrome/renderer/media/buffered_data_source.cc (right): http://codereview.chromium.org/88047/diff/9007/8005#newcode615 Line 615: host_->InitializationComplete(); On 2009/04/28 21:46:29, scherkus wrote: > if ...
11 years, 8 months ago (2009-04-28 21:57:13 UTC) #15
scherkus (not reviewing)
11 years, 8 months ago (2009-04-28 22:15:04 UTC) #16
LGTM

also I think you want to remove the svn:executable bit from your source files

svn pd svn:executable [files]

Powered by Google App Engine
This is Rietveld 408576698