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

Issue 1399603003: Tie multibuffers to URLs (Closed)

Created:
5 years, 2 months ago by hubbe
Modified:
5 years ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@media_cache
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Provides an a way to have one multibuffer per URL and the data providers needed to populate those multibuffers. This CL used to be bigger, but I've split it into pieces for easier reviewing. More CLs to follow. Media cache design doc: https://docs.google.com/document/d/15q6LTG0iDUe30QcoMtj4XNmKCa_7W_Q2uUIPFsJhS1E/edit Depends on: https://codereview.chromium.org/1420883004/ BUG=514719 Committed: https://crrev.com/dd6151100c52e52929d5e09f5f7fb15653c67f14 Cr-Commit-Position: refs/heads/master@{#362242}

Patch Set 1 #

Patch Set 2 : add ->Use() where approperiate #

Patch Set 3 : flag controlled #

Patch Set 4 : silly changes removed #

Patch Set 5 : merged #

Patch Set 6 : compile fix #

Patch Set 7 : compile fixes #

Total comments: 18

Patch Set 8 : comments addressed + compile fixes #

Patch Set 9 : compile fixes #

Patch Set 10 : remove unused constants #

Patch Set 11 : compile fixes #

Patch Set 12 : compile fixes #

Patch Set 13 : added MEDIA_BLINK_EXPORT #

Total comments: 10

Patch Set 14 : refactored, + addressed a few comments #

Patch Set 15 : factored out MEDIA_BLINK_EXPORT #

Patch Set 16 : merged #

Patch Set 17 : merged #

Patch Set 18 : split #

Patch Set 19 : compile fixes #

Patch Set 20 : compile fixes #

Total comments: 105

Patch Set 21 : comments addressed #

Total comments: 16

Patch Set 22 : comments addressed #

Total comments: 18

Patch Set 23 : comments addressed, more tests #

Patch Set 24 : removed VLOG(0), oops #

Total comments: 14

Patch Set 25 : modernized #

Patch Set 26 : missed removing "explicit" #

Patch Set 27 : compile fix #

Patch Set 28 : potential compile fix #

Patch Set 29 : swap TimeTicks for Time in cacheing logic #

Patch Set 30 : formatted #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1723 lines, -86 lines) Patch
M media/blink/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +5 lines, -0 lines 0 comments Download
M media/blink/cache_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +8 lines, -0 lines 0 comments Download
M media/blink/cache_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +38 lines, -0 lines 0 comments Download
M media/blink/media_blink.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +6 lines, -0 lines 0 comments Download
M media/blink/multibuffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 9 chunks +23 lines, -15 lines 0 comments Download
M media/blink/multibuffer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 8 chunks +20 lines, -20 lines 0 comments Download
M media/blink/multibuffer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 16 chunks +53 lines, -51 lines 0 comments Download
A media/blink/resource_multibuffer_data_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +126 lines, -0 lines 0 comments Download
A media/blink/resource_multibuffer_data_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +480 lines, -0 lines 0 comments Download
A media/blink/resource_multibuffer_data_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +330 lines, -0 lines 0 comments Download
A media/blink/url_index.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +241 lines, -0 lines 0 comments Download
A media/blink/url_index.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +237 lines, -0 lines 0 comments Download
A media/blink/url_index_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +156 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (11 generated)
hubbe
5 years, 2 months ago (2015-10-08 23:16:40 UTC) #2
hubbe
Time to actually start reviewing this CL.
5 years, 2 months ago (2015-10-14 22:37:12 UTC) #3
liberato (no reviews please)
still going... -fl https://chromiumcodereview.appspot.com/1399603003/diff/120001/media/blink/multibuffer_data_source.cc File media/blink/multibuffer_data_source.cc (right): https://chromiumcodereview.appspot.com/1399603003/diff/120001/media/blink/multibuffer_data_source.cc#newcode146 media/blink/multibuffer_data_source.cc:146: // A factory method to create ...
5 years, 2 months ago (2015-10-16 21:50:36 UTC) #4
hubbe
First batch of comments addressed. https://codereview.chromium.org/1399603003/diff/120001/media/blink/multibuffer_data_source.cc File media/blink/multibuffer_data_source.cc (right): https://codereview.chromium.org/1399603003/diff/120001/media/blink/multibuffer_data_source.cc#newcode146 media/blink/multibuffer_data_source.cc:146: // A factory method ...
5 years, 2 months ago (2015-10-16 23:47:06 UTC) #5
liberato (no reviews please)
few things that i noticed before realizing i was looking at the older multibuffer CL. ...
5 years, 1 month ago (2015-11-05 19:03:18 UTC) #6
hubbe
https://codereview.chromium.org/1399603003/diff/240001/media/blink/cache_util.cc File media/blink/cache_util.cc (right): https://codereview.chromium.org/1399603003/diff/240001/media/blink/cache_util.cc#newcode112 media/blink/cache_util.cc:112: if (Time::FromString(response.httpHeaderField("Date").utf8().data(), &date) && On 2015/11/05 19:03:18, liberato wrote: ...
5 years, 1 month ago (2015-11-13 22:56:52 UTC) #8
hubbe
5 years, 1 month ago (2015-11-13 22:58:20 UTC) #10
xhwang
I don't know enough about MultiBuffer to review this CL. I could read the design ...
5 years, 1 month ago (2015-11-16 22:49:12 UTC) #11
hubbe
On 2015/11/16 22:49:12, xhwang wrote: > I don't know enough about MultiBuffer to review this ...
5 years, 1 month ago (2015-11-16 22:59:29 UTC) #13
xhwang
I didn't review the test yet. Here are my first round of comments. Mostly nits ...
5 years, 1 month ago (2015-11-19 23:34:19 UTC) #14
hubbe
PTAL https://codereview.chromium.org/1399603003/diff/380001/media/blink/cache_util.cc File media/blink/cache_util.cc (right): https://codereview.chromium.org/1399603003/diff/380001/media/blink/cache_util.cc#newcode119 media/blink/cache_util.cc:119: date > Time() && expires > Time()) { ...
5 years, 1 month ago (2015-11-20 23:24:24 UTC) #15
liberato (no reviews please)
https://codereview.chromium.org/1399603003/diff/400001/media/blink/cache_util.h File media/blink/cache_util.h (right): https://codereview.chromium.org/1399603003/diff/400001/media/blink/cache_util.h#newcode20 media/blink/cache_util.h:20: // Reasons that a cached WebURLResponse will *not* prevent ...
5 years ago (2015-11-23 19:07:10 UTC) #16
hubbe
https://codereview.chromium.org/1399603003/diff/400001/media/blink/cache_util.h File media/blink/cache_util.h (right): https://codereview.chromium.org/1399603003/diff/400001/media/blink/cache_util.h#newcode20 media/blink/cache_util.h:20: // Reasons that a cached WebURLResponse will *not* prevent ...
5 years ago (2015-11-23 20:17:30 UTC) #17
xhwang
lgtm % nits/comments https://chromiumcodereview.appspot.com/1399603003/diff/380001/media/blink/resource_multibuffer_data_provider.cc File media/blink/resource_multibuffer_data_provider.cc (right): https://chromiumcodereview.appspot.com/1399603003/diff/380001/media/blink/resource_multibuffer_data_provider.cc#newcode168 media/blink/resource_multibuffer_data_provider.cc:168: : "Unknown") On 2015/11/20 23:24:23, hubbe ...
5 years ago (2015-11-23 23:09:21 UTC) #18
hubbe
PTAL https://codereview.chromium.org/1399603003/diff/380001/media/blink/resource_multibuffer_data_provider.cc File media/blink/resource_multibuffer_data_provider.cc (right): https://codereview.chromium.org/1399603003/diff/380001/media/blink/resource_multibuffer_data_provider.cc#newcode228 media/blink/resource_multibuffer_data_provider.cc:228: url_data_->set_range_supported(); On 2015/11/23 23:09:21, xhwang wrote: > On ...
5 years ago (2015-11-24 22:55:11 UTC) #19
xhwang
lgtm with nits https://chromiumcodereview.appspot.com/1399603003/diff/460001/media/blink/multibuffer.cc File media/blink/multibuffer.cc (right): https://chromiumcodereview.appspot.com/1399603003/diff/460001/media/blink/multibuffer.cc#newcode266 media/blink/multibuffer.cc:266: writer_index_[pos] = provider.Pass(); nit: the new ...
5 years ago (2015-11-25 01:01:44 UTC) #20
hubbe
Will submit tomorrow unless further comments show up. :) https://chromiumcodereview.appspot.com/1399603003/diff/460001/media/blink/multibuffer.cc File media/blink/multibuffer.cc (right): https://chromiumcodereview.appspot.com/1399603003/diff/460001/media/blink/multibuffer.cc#newcode266 media/blink/multibuffer.cc:266: ...
5 years ago (2015-11-25 01:15:10 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1399603003/560001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1399603003/560001
5 years ago (2015-11-30 19:46:42 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/123211)
5 years ago (2015-11-30 20:14:57 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1399603003/580001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1399603003/580001
5 years ago (2015-11-30 21:49:10 UTC) #29
commit-bot: I haz the power
Committed patchset #30 (id:580001)
5 years ago (2015-11-30 22:22:21 UTC) #31
commit-bot: I haz the power
5 years ago (2015-11-30 22:23:22 UTC) #33
Message was sent while issue was closed.
Patchset 30 (id:??) landed as
https://crrev.com/dd6151100c52e52929d5e09f5f7fb15653c67f14
Cr-Commit-Position: refs/heads/master@{#362242}

Powered by Google App Engine
This is Rietveld 408576698