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

Issue 2436163002: When InterceptingResourceHandler swaps in a handler, call OnWillStart. (Closed)

Created:
4 years, 2 months ago by mmenke
Modified:
4 years, 1 month ago
Reviewers:
Charlie Harrison
CC:
chromium-reviews, loading-reviews_chromium.org, jam, darin-cc_chromium.org, Randy Smith (Not in Mondays)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

When InterceptingResourceHandler swaps in a handler, call OnWillStart. The new ResourceHandler's OnWillStart was never being called, which violates the ResourceHandler's API contract, and has caused at least one crash previously (Though that fixed by another CL). BUG=650717 Committed: https://crrev.com/90cf7fc2ae2d522c9a0d5c9dee461f6b79277df9 Cr-Commit-Position: refs/heads/master@{#427183}

Patch Set 1 #

Patch Set 2 : Remove unused value, reorder defer/results (They don't quite match...) #

Total comments: 1

Patch Set 3 : Update comments, remove prototype for method that never existed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -122 lines) Patch
M content/browser/loader/intercepting_resource_handler.h View 1 2 2 chunks +11 lines, -5 lines 0 comments Download
M content/browser/loader/intercepting_resource_handler.cc View 3 chunks +12 lines, -2 lines 0 comments Download
M content/browser/loader/intercepting_resource_handler_unittest.cc View 1 18 chunks +168 lines, -115 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (19 generated)
mmenke
[csharrison]: This was inspired by a downloads bug, but sending it to you since you're ...
4 years, 2 months ago (2016-10-21 18:00:49 UTC) #10
Charlie Harrison
looks good. Will go over the tests on Monday.
4 years, 2 months ago (2016-10-21 21:35:48 UTC) #13
Charlie Harrison
LGTM! I think the modifications to the tests make things much clearer (i.e. what is ...
4 years, 1 month ago (2016-10-24 16:22:15 UTC) #16
mmenke
On 2016/10/24 16:22:15, Charlie Harrison wrote: > LGTM! I think the modifications to the tests ...
4 years, 1 month ago (2016-10-24 16:23:45 UTC) #17
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/2436163002/40001
4 years, 1 month ago (2016-10-24 16:25:26 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/151270)
4 years, 1 month ago (2016-10-24 17:45:02 UTC) #21
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/2436163002/40001
4 years, 1 month ago (2016-10-24 19:07:35 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/151164)
4 years, 1 month ago (2016-10-24 22:01:32 UTC) #25
mmenke
On 2016/10/24 22:01:32, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 1 month ago (2016-10-24 22:11:59 UTC) #27
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/2436163002/40001
4 years, 1 month ago (2016-10-24 22:12:24 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-24 23:59:56 UTC) #29
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 00:02:39 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/90cf7fc2ae2d522c9a0d5c9dee461f6b79277df9
Cr-Commit-Position: refs/heads/master@{#427183}

Powered by Google App Engine
This is Rietveld 408576698