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

Issue 159382: Retry requests that has timed out in BufferedDataSource (Closed)

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

Description

Retry requests that has timed out in BufferedDataSource Retries request if the read request is not fulfilled in 5 seconds and at most 3 times. This will handle the case when a user pause a movie and starts it in a later time when the connection to the server has already timed out. TEST=BufferedDataSourceTest.* BUG=17479 done Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21982

Patch Set 1 #

Patch Set 2 : using timer instead of PostDelayedTask #

Patch Set 3 : cleanup some parameters #

Total comments: 18

Patch Set 4 : fix #

Total comments: 10

Patch Set 5 : done again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -1 line) Patch
M webkit/glue/media/buffered_data_source.h View 1 2 3 4 5 chunks +19 lines, -0 lines 0 comments Download
M webkit/glue/media/buffered_data_source.cc View 1 2 3 6 chunks +55 lines, -1 line 0 comments Download
M webkit/glue/media/buffered_data_source_unittest.cc View 1 2 3 4 5 chunks +60 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Alpha Left Google
11 years, 5 months ago (2009-07-25 17:56:51 UTC) #1
Alpha Left Google
+ajwong ajwong: do you mind taking a look too?
11 years, 4 months ago (2009-07-27 21:29:43 UTC) #2
scherkus (not reviewing)
yeah sorry for taking a while.. need to get this regression fixed :( On Mon, ...
11 years, 4 months ago (2009-07-27 21:31:32 UTC) #3
scherkus (not reviewing)
http://codereview.chromium.org/159382/diff/12/13 File webkit/glue/media/buffered_data_source.cc (right): http://codereview.chromium.org/159382/diff/12/13#newcode436 Line 436: DCHECK(stopped_); watch out: object is created with stopped_ ...
11 years, 4 months ago (2009-07-27 22:53:04 UTC) #4
Alpha Left Google
http://codereview.chromium.org/159382/diff/12/13 File webkit/glue/media/buffered_data_source.cc (right): http://codereview.chromium.org/159382/diff/12/13#newcode436 Line 436: DCHECK(stopped_); On 2009/07/27 22:53:06, scherkus wrote: > watch ...
11 years, 4 months ago (2009-07-28 20:55:44 UTC) #5
scherkus (not reviewing)
few comments http://codereview.chromium.org/159382/diff/22/24 File webkit/glue/media/buffered_data_source.h (right): http://codereview.chromium.org/159382/diff/22/24#newcode295 Line 295: // of doing PostDelayedTask reduce the ...
11 years, 4 months ago (2009-07-29 18:42:20 UTC) #6
Alpha Left Google
http://codereview.chromium.org/159382/diff/22/24 File webkit/glue/media/buffered_data_source.h (right): http://codereview.chromium.org/159382/diff/22/24#newcode295 Line 295: // of doing PostDelayedTask reduce the extra reference ...
11 years, 4 months ago (2009-07-29 19:00:43 UTC) #7
scherkus (not reviewing)
11 years, 4 months ago (2009-07-29 19:02:41 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698