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

Issue 1509663003: make multibuffer work with layout tests (Closed)

Created:
5 years ago by hubbe
Modified:
5 years ago
CC:
chromium-reviews, blink-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@media_cache.integrate3
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

make multibuffer work with layout tests This Cl does four things: 1) Makes sure that the loading state callback is handled in a backwards-compatible way. (BufferedDataSource) 2) Fixes a problem where we would try to read past the end of the file if the file was already completely cached. (MultiBufferReader) 3) Fixes one layout test that relies on a file getting read from the server slowly. 4) Avoids going back to the beginning of the block when server chooses to return less data than we asked for. (ResourceMultiBufferDataProvider) + adds a few more DVLOG statements which I found very useful when debugging. Committed: https://crrev.com/d82bed5a05b67e16a284c9f56d579c2ac55cff70 Cr-Commit-Position: refs/heads/master@{#365371}

Patch Set 1 #

Total comments: 6

Patch Set 2 : comments addressed #

Patch Set 3 : merged & formatted #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -30 lines) Patch
M media/blink/multibuffer_data_source.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M media/blink/multibuffer_data_source.cc View 1 2 6 chunks +16 lines, -7 lines 0 comments Download
M media/blink/multibuffer_data_source_unittest.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M media/blink/multibuffer_reader.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/blink/multibuffer_reader.cc View 1 2 3 chunks +16 lines, -11 lines 0 comments Download
M media/blink/resource_multibuffer_data_provider.cc View 6 chunks +24 lines, -6 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 4 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/media/video-throttled-load-metadata.html View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
hubbe
5 years ago (2015-12-08 20:33:48 UTC) #2
liberato (no reviews please)
if i'm completely misunderstanding, i'll be in the office tomorrow if it's easier to chat ...
5 years ago (2015-12-08 21:59:33 UTC) #3
hubbe
If I need to explain things in person, how is the next reader going to ...
5 years ago (2015-12-08 22:25:59 UTC) #4
liberato (no reviews please)
lgtm -fl
5 years ago (2015-12-10 20:39:19 UTC) #5
hubbe
5 years ago (2015-12-14 19:24:27 UTC) #7
DaleCurtis
lgtm
5 years ago (2015-12-14 19:32:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1509663003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1509663003/40001
5 years ago (2015-12-15 19:46:53 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-15 23:07:23 UTC) #12
commit-bot: I haz the power
5 years ago (2015-12-15 23:08:27 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d82bed5a05b67e16a284c9f56d579c2ac55cff70
Cr-Commit-Position: refs/heads/master@{#365371}

Powered by Google App Engine
This is Rietveld 408576698