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

Issue 1513783005: [Blob] Fix for resetting reader. (Closed)

Created:
5 years ago by dmurph
Modified:
5 years ago
Reviewers:
michaeln, mmenke
CC:
chromium-reviews, darin-cc_chromium.org, jam, kinuko+fileapi, nhiroki, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Blob] Fix for resetting reader. R=michaeln BUG=567692 Committed-First-Time: https://crrev.com/ebf7a6b19a7a468195a5606fbd2bbd6d07a26ea2 Cr-Commit-Position-First-Time: refs/heads/master@{#365177} Committed: https://crrev.com/f01c1228c9cca9b4078443438dfa868f7b972ac2 Cr-Commit-Position: refs/heads/master@{#365316}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Comments #

Patch Set 3 : comments #

Patch Set 4 : comments #

Total comments: 2

Patch Set 5 : comments #

Total comments: 1

Patch Set 6 : comments #

Total comments: 2

Patch Set 7 : Add test, removed cleanup #

Total comments: 20

Patch Set 8 : comments and cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -9 lines) Patch
M content/browser/loader/upload_data_stream_builder.cc View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/loader/upload_data_stream_builder_unittest.cc View 1 2 3 4 5 6 7 1 chunk +51 lines, -0 lines 0 comments Download
M storage/browser/blob/upload_blob_element_reader.h View 1 2 3 4 chunks +12 lines, -3 lines 0 comments Download
M storage/browser/blob/upload_blob_element_reader.cc View 1 2 3 4 5 6 1 chunk +10 lines, -3 lines 0 comments Download

Messages

Total messages: 53 (14 generated)
dmurph
Hey Michael! This is a release blocker bug fix. The upload data element reader has ...
5 years ago (2015-12-10 23:58:50 UTC) #1
michaeln
https://codereview.chromium.org/1513783005/diff/1/storage/browser/blob/blob_reader.cc File storage/browser/blob/blob_reader.cc (right): https://codereview.chromium.org/1513783005/diff/1/storage/browser/blob/blob_reader.cc#newcode199 storage/browser/blob/blob_reader.cc:199: // We keep the map of file readers to ...
5 years ago (2015-12-11 00:22:18 UTC) #2
michaeln
https://codereview.chromium.org/1513783005/diff/1/storage/browser/blob/blob_reader.cc File storage/browser/blob/blob_reader.cc (right): https://codereview.chromium.org/1513783005/diff/1/storage/browser/blob/blob_reader.cc#newcode199 storage/browser/blob/blob_reader.cc:199: // We keep the map of file readers to ...
5 years ago (2015-12-11 00:48:16 UTC) #3
dmurph
On 2015/12/11 at 00:22:18, michaeln wrote: > https://codereview.chromium.org/1513783005/diff/1/storage/browser/blob/blob_reader.cc > File storage/browser/blob/blob_reader.cc (right): > > https://codereview.chromium.org/1513783005/diff/1/storage/browser/blob/blob_reader.cc#newcode199 ...
5 years ago (2015-12-11 00:50:07 UTC) #4
dmurph
https://codereview.chromium.org/1513783005/diff/1/storage/browser/blob/blob_reader.cc File storage/browser/blob/blob_reader.cc (right): https://codereview.chromium.org/1513783005/diff/1/storage/browser/blob/blob_reader.cc#newcode199 storage/browser/blob/blob_reader.cc:199: // We keep the map of file readers to ...
5 years ago (2015-12-11 01:32:04 UTC) #5
dmurph
Switched to recreating the reader.
5 years ago (2015-12-11 02:08:24 UTC) #7
michaeln
https://codereview.chromium.org/1513783005/diff/60001/storage/browser/blob/blob_reader.h File storage/browser/blob/blob_reader.h (right): https://codereview.chromium.org/1513783005/diff/60001/storage/browser/blob/blob_reader.h#newcode69 storage/browser/blob/blob_reader.h:69: // * This hsould only be called once per ...
5 years ago (2015-12-11 02:17:01 UTC) #8
dmurph
On 2015/12/11 at 02:17:01, michaeln wrote: > https://codereview.chromium.org/1513783005/diff/60001/storage/browser/blob/blob_reader.h > File storage/browser/blob/blob_reader.h (right): > > https://codereview.chromium.org/1513783005/diff/60001/storage/browser/blob/blob_reader.h#newcode69 ...
5 years ago (2015-12-11 02:18:33 UTC) #9
michaeln
https://codereview.chromium.org/1513783005/diff/70001/storage/browser/blob/upload_blob_element_reader.cc File storage/browser/blob/upload_blob_element_reader.cc (right): https://codereview.chromium.org/1513783005/diff/70001/storage/browser/blob/upload_blob_element_reader.cc#newcode25 storage/browser/blob/upload_blob_element_reader.cc:25: if (reader_.get() == nullptr ||reader_->dirty()) { is there any ...
5 years ago (2015-12-11 03:01:11 UTC) #10
dmurph
On 2015/12/11 at 03:01:11, michaeln wrote: > https://codereview.chromium.org/1513783005/diff/70001/storage/browser/blob/upload_blob_element_reader.cc > File storage/browser/blob/upload_blob_element_reader.cc (right): > > https://codereview.chromium.org/1513783005/diff/70001/storage/browser/blob/upload_blob_element_reader.cc#newcode25 ...
5 years ago (2015-12-11 03:04:24 UTC) #11
mmenke
Set 6 looks really good. Are the blob_reader changes necessary for correctness? They just look ...
5 years ago (2015-12-11 16:05:10 UTC) #12
dmurph
On 2015/12/11 at 16:05:10, mmenke wrote: > Set 6 looks really good. > > Are ...
5 years ago (2015-12-11 17:21:11 UTC) #13
mmenke
On 2015/12/11 17:21:11, dmurph wrote: > On 2015/12/11 at 16:05:10, mmenke wrote: > > Set ...
5 years ago (2015-12-11 17:25:45 UTC) #14
michaeln
This looks great now. Do we want to split the cl? The index change srtictly ...
5 years ago (2015-12-11 20:47:39 UTC) #15
mmenke
On 2015/12/11 20:47:39, michaeln wrote: > This looks great now. > > Do we want ...
5 years ago (2015-12-11 20:48:51 UTC) #16
michaeln
On 2015/12/11 20:48:51, mmenke wrote: > On 2015/12/11 20:47:39, michaeln wrote: > > This looks ...
5 years ago (2015-12-11 21:23:44 UTC) #17
mmenke
On 2015/12/11 21:23:44, michaeln wrote: > On 2015/12/11 20:48:51, mmenke wrote: > > On 2015/12/11 ...
5 years ago (2015-12-11 21:48:52 UTC) #18
dmurph
I added the test to a class that's already there. How does this look? https://codereview.chromium.org/1513783005/diff/90001/storage/browser/blob/upload_blob_element_reader.cc ...
5 years ago (2015-12-11 23:04:21 UTC) #19
mmenke
This LGTM (Though michaeln should also review it, of course) https://codereview.chromium.org/1513783005/diff/110001/content/browser/loader/upload_data_stream_builder_unittest.cc File content/browser/loader/upload_data_stream_builder_unittest.cc (right): https://codereview.chromium.org/1513783005/diff/110001/content/browser/loader/upload_data_stream_builder_unittest.cc#newcode163 ...
5 years ago (2015-12-11 23:15:46 UTC) #20
michaeln
lgtm 2 https://codereview.chromium.org/1513783005/diff/110001/content/browser/loader/upload_data_stream_builder_unittest.cc File content/browser/loader/upload_data_stream_builder_unittest.cc (right): https://codereview.chromium.org/1513783005/diff/110001/content/browser/loader/upload_data_stream_builder_unittest.cc#newcode154 content/browser/loader/upload_data_stream_builder_unittest.cc:154: ResetUploadStreamWithBlob) { does this not fit on ...
5 years ago (2015-12-11 23:21:33 UTC) #21
dmurph
https://codereview.chromium.org/1513783005/diff/110001/content/browser/loader/upload_data_stream_builder_unittest.cc File content/browser/loader/upload_data_stream_builder_unittest.cc (right): https://codereview.chromium.org/1513783005/diff/110001/content/browser/loader/upload_data_stream_builder_unittest.cc#newcode154 content/browser/loader/upload_data_stream_builder_unittest.cc:154: ResetUploadStreamWithBlob) { On 2015/12/11 at 23:21:33, michaeln wrote: > ...
5 years ago (2015-12-11 23:34:02 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513783005/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513783005/130001
5 years ago (2015-12-12 01:09:27 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_chromeos_compile_dbg_ng on ...
5 years ago (2015-12-12 03:17:20 UTC) #27
mmenke
On 2015/12/12 03:17:20, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years ago (2015-12-15 00:37:47 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513783005/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513783005/130001
5 years ago (2015-12-15 00:38:56 UTC) #30
dmurph
On 2015/12/15 at 00:38:56, commit-bot wrote: > CQ is trying da patch. Follow status at ...
5 years ago (2015-12-15 00:45:22 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromium_presubmit on ...
5 years ago (2015-12-15 04:20:37 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513783005/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513783005/130001
5 years ago (2015-12-15 06:12:06 UTC) #35
commit-bot: I haz the power
Committed patchset #8 (id:130001)
5 years ago (2015-12-15 06:18:44 UTC) #36
commit-bot: I haz the power
Committed patchset #8 (id:130001)
5 years ago (2015-12-15 06:19:43 UTC) #37
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/622edffe2ccdaa487dab085a4689a9a11f33790c Cr-Commit-Position: refs/heads/master@{#365176}
5 years ago (2015-12-15 06:20:12 UTC) #39
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/ebf7a6b19a7a468195a5606fbd2bbd6d07a26ea2 Cr-Commit-Position: refs/heads/master@{#365177}
5 years ago (2015-12-15 06:21:29 UTC) #41
yoichio
A revert of this CL (patchset #8 id:130001) has been created in https://codereview.chromium.org/1529743002/ by yoichio@chromium.org. ...
5 years ago (2015-12-15 06:38:19 UTC) #42
dmurph
On 2015/12/15 at 06:38:19, yoichio wrote: > A revert of this CL (patchset #8 id:130001) ...
5 years ago (2015-12-15 19:04:28 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513783005/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513783005/130001
5 years ago (2015-12-15 19:25:00 UTC) #46
commit-bot: I haz the power
Exceeded global retry quota
5 years ago (2015-12-15 20:07:14 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513783005/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513783005/130001
5 years ago (2015-12-15 20:41:17 UTC) #50
commit-bot: I haz the power
Committed patchset #8 (id:130001)
5 years ago (2015-12-15 21:21:59 UTC) #51
commit-bot: I haz the power
5 years ago (2015-12-15 21:23:31 UTC) #53
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/f01c1228c9cca9b4078443438dfa868f7b972ac2
Cr-Commit-Position: refs/heads/master@{#365316}

Powered by Google App Engine
This is Rietveld 408576698