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

Issue 517853004: Move ResourceResponseHead::error_code to SyncLoadResult. (Closed)

Created:
6 years, 3 months ago by davidben
Modified:
6 years, 3 months ago
Reviewers:
jam, mmenke, nasko
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move ResourceResponseHead::error_code to SyncLoadResult. Apart from the places which expect a SyncLoadResult, it's only read in RedirectToFileResourceHandler. In that case, it's always net::OK; ResourceLoader checks request_->status().is_success() first in OnResponseStarted before calling CompleteResponseStarted(). BUG=none Committed: https://crrev.com/015fd3277d904d8941d29c1dc77d91bdf2cbfa4a Cr-Commit-Position: refs/heads/master@{#293216}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -14 lines) Patch
M content/browser/loader/redirect_to_file_resource_handler.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M content/browser/loader/resource_loader.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 5 chunks +0 lines, -5 lines 0 comments Download
M content/common/resource_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/resource_response.h View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
davidben
Minor simplification I came across. (Looking at the Mojo URLLoader interface, an alternative interface would ...
6 years, 3 months ago (2014-08-29 18:54:08 UTC) #2
mmenke
LGTM
6 years, 3 months ago (2014-09-02 15:25:49 UTC) #3
davidben
+jam for content/ OWNERS
6 years, 3 months ago (2014-09-02 16:20:10 UTC) #5
jam
lgtm
6 years, 3 months ago (2014-09-03 17:33:16 UTC) #6
davidben
Oops, still need one more OWNER. +nasko for IPC.
6 years, 3 months ago (2014-09-03 17:38:18 UTC) #8
nasko
IPC LGTM
6 years, 3 months ago (2014-09-03 17:46:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/517853004/1
6 years, 3 months ago (2014-09-03 17:59:42 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium.linux ...
6 years, 3 months ago (2014-09-03 18:49:20 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/12523)
6 years, 3 months ago (2014-09-03 19:24:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/517853004/1
6 years, 3 months ago (2014-09-03 21:21:16 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1) as 694a12d89f76a34aacd2deba2b53e4ad8d073cd3
6 years, 3 months ago (2014-09-03 23:32:47 UTC) #17
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:28:23 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/015fd3277d904d8941d29c1dc77d91bdf2cbfa4a
Cr-Commit-Position: refs/heads/master@{#293216}

Powered by Google App Engine
This is Rietveld 408576698