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

Issue 2829923004: Fail when uploading blob is non-existant (Closed)

Created:
3 years, 8 months ago by dmurph
Modified:
3 years, 6 months ago
Reviewers:
kinuko, michaeln, horo
CC:
chromium-reviews, loading-reviews_chromium.org, jam, darin-cc_chromium.org, Randy Smith (Not in Mondays), mmenke
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fail when uploading blob is non-existant BUG=692860 Review-Url: https://codereview.chromium.org/2829923004 Cr-Commit-Position: refs/heads/master@{#476858} Committed: https://chromium.googlesource.com/chromium/src/+/a9e68ce94c149e7322faaa09fddb3aa2c1e0a2de

Patch Set 1 #

Patch Set 2 : test for blobs being uploaded #

Patch Set 3 : rebase #

Total comments: 6

Patch Set 4 : moved attach blobs before Continue call #

Patch Set 5 : reworked to be exactly the same, logically #

Total comments: 3

Patch Set 6 : fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -15 lines) Patch
M content/browser/blob_storage/chrome_blob_storage_context.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/blob_storage/chrome_blob_storage_context.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 3 4 5 3 chunks +28 lines, -11 lines 0 comments Download

Messages

Total messages: 50 (31 generated)
dmurph
Horo, can you PTAL?
3 years, 6 months ago (2017-05-31 21:56:10 UTC) #14
michaeln
a drive by comment https://codereview.chromium.org/2829923004/diff/40001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/2829923004/diff/40001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1180 content/browser/loader/resource_dispatcher_host_impl.cc:1180: &ResourceDispatcherHostImpl::ContinuePendingBeginRequest, Looks like ContinuePendingBeginRequest can ...
3 years, 6 months ago (2017-05-31 22:41:19 UTC) #15
horo
lgtm https://codereview.chromium.org/2829923004/diff/40001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/2829923004/diff/40001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1180 content/browser/loader/resource_dispatcher_host_impl.cc:1180: &ResourceDispatcherHostImpl::ContinuePendingBeginRequest, On 2017/05/31 22:41:19, michaeln wrote: > Looks ...
3 years, 6 months ago (2017-06-01 02:04:48 UTC) #16
kinuko
Could we add a similar code in navigation_url_loader_network_service.cc (a new alternative code path for BeginNavigationRequest ...
3 years, 6 months ago (2017-06-01 05:50:04 UTC) #17
dmurph
Since I couldn't find an obvious way to fail the request, I created a bug ...
3 years, 6 months ago (2017-06-01 18:18:29 UTC) #18
dmurph
Since I couldn't find an obvious way to fail the request, I created a bug ...
3 years, 6 months ago (2017-06-01 18:18:32 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2829923004/40001
3 years, 6 months ago (2017-06-01 18:19:11 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/453485)
3 years, 6 months ago (2017-06-01 18:29:15 UTC) #23
dmurph
Whoops, Kinuko, can you PTAL for content/browser/loader/resource_dispatcher_host_impl.cc approval?
3 years, 6 months ago (2017-06-01 18:47:27 UTC) #25
michaeln
https://codereview.chromium.org/2829923004/diff/40001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/2829923004/diff/40001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1180 content/browser/loader/resource_dispatcher_host_impl.cc:1180: &ResourceDispatcherHostImpl::ContinuePendingBeginRequest, On 2017/06/01 02:04:48, horo wrote: > On 2017/05/31 ...
3 years, 6 months ago (2017-06-01 20:46:59 UTC) #26
kinuko
lgtm https://codereview.chromium.org/2829923004/diff/40001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/2829923004/diff/40001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1180 content/browser/loader/resource_dispatcher_host_impl.cc:1180: &ResourceDispatcherHostImpl::ContinuePendingBeginRequest, On 2017/06/01 20:46:59, michaeln wrote: > On ...
3 years, 6 months ago (2017-06-02 03:15:40 UTC) #27
dmurph
Done. Hopefully this doesn't break anything - it shouldn't it's just moving this higher up ...
3 years, 6 months ago (2017-06-02 19:38:07 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2829923004/80001
3 years, 6 months ago (2017-06-02 19:54:01 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_headless_rel on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_headless_rel/builds/99812)
3 years, 6 months ago (2017-06-02 20:14:50 UTC) #38
dmurph
On 2017/06/02 20:14:50, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 6 months ago (2017-06-02 21:18:52 UTC) #39
michaeln
https://codereview.chromium.org/2829923004/diff/80001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (left): https://codereview.chromium.org/2829923004/diff/80001/content/browser/loader/resource_dispatcher_host_impl.cc#oldcode1304 content/browser/loader/resource_dispatcher_host_impl.cc:1304: GetBlobStorageContext(requester_info->blob_storage_context()); you could retain the local variable and avoid ...
3 years, 6 months ago (2017-06-02 21:36:37 UTC) #41
dmurph
found the bug, doing what michael suggested. https://codereview.chromium.org/2829923004/diff/80001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (left): https://codereview.chromium.org/2829923004/diff/80001/content/browser/loader/resource_dispatcher_host_impl.cc#oldcode1304 content/browser/loader/resource_dispatcher_host_impl.cc:1304: GetBlobStorageContext(requester_info->blob_storage_context()); On ...
3 years, 6 months ago (2017-06-02 23:00:34 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2829923004/100001
3 years, 6 months ago (2017-06-02 23:02:05 UTC) #47
commit-bot: I haz the power
3 years, 6 months ago (2017-06-03 02:13:10 UTC) #50
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/a9e68ce94c149e7322faaa09fddb...

Powered by Google App Engine
This is Rietveld 408576698