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

Issue 1881023004: Enable setting deferral state on ResourceDispatcher at request start (Closed)

Created:
4 years, 8 months ago by Nate Chapin
Modified:
4 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable setting deferral state on ResourceDispatcher at request start In https://chromium.googlesource.com/chromium/src/+/f92a1f3b9, blink's ResourceLoader stopped handling load deferrals, instead leaving it to WebURLLoaderImpl. However, WebURLLoaderImpl can't quite do everything it needs to, as ResourceDispatcher also needs to note that the load is deferred, and it can't do that until a PendingRequest has been created. Give ResourceDispatcher a way to immediately mark a load a deferred on start. BUG=601706 Committed: https://crrev.com/c5a3e99a81bee5f325b81be3d21f5daf1854b572 Cr-Commit-Position: refs/heads/master@{#388910}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : +test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M content/child/resource_dispatcher.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/child/web_url_loader_impl.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M content/child/web_url_loader_impl_unittest.cc View 1 2 3 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 33 (14 generated)
Nate Chapin
dcheng, is this something you're comfortable reviewing? See bug for context + test case. There ...
4 years, 8 months ago (2016-04-13 19:35:37 UTC) #4
dcheng
I prefer PS2 and exposing things to tests (we could just friend the test too, ...
4 years, 8 months ago (2016-04-13 21:32:08 UTC) #5
Nate Chapin
yhirano: PTAL
4 years, 8 months ago (2016-04-15 20:11:56 UTC) #7
yhirano
On 2016/04/15 20:11:56, Nate Chapin wrote: > yhirano: PTAL Can you cc me in the ...
4 years, 8 months ago (2016-04-16 07:29:21 UTC) #8
dcheng
Incidentally, I noticed the test case in the bug tripped a ton of asserts in ...
4 years, 8 months ago (2016-04-18 04:06:06 UTC) #9
yhirano
With PS2 we could make ResourceDispatcher::SetDefersLoading a virtual function for testing.
4 years, 8 months ago (2016-04-18 05:50:37 UTC) #10
Nate Chapin
On 2016/04/18 05:50:37, yhirano wrote: > With PS2 we could make ResourceDispatcher::SetDefersLoading a virtual function ...
4 years, 8 months ago (2016-04-20 00:03:44 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881023004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881023004/40001
4 years, 8 months ago (2016-04-20 00:03:45 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-20 00:57:42 UTC) #15
yhirano
lgtm
4 years, 8 months ago (2016-04-20 02:30:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881023004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881023004/40001
4 years, 8 months ago (2016-04-20 16:52:05 UTC) #18
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/170872)
4 years, 8 months ago (2016-04-20 16:59:19 UTC) #20
Nate Chapin
jochen, would you mind content/OWNERS reviewing this?
4 years, 8 months ago (2016-04-20 19:59:52 UTC) #22
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago (2016-04-21 14:47:26 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881023004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881023004/40001
4 years, 8 months ago (2016-04-21 17:37:39 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/58033)
4 years, 8 months ago (2016-04-21 20:36:41 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881023004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881023004/40001
4 years, 8 months ago (2016-04-21 20:38:14 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-21 21:44:17 UTC) #31
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:39:57 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c5a3e99a81bee5f325b81be3d21f5daf1854b572
Cr-Commit-Position: refs/heads/master@{#388910}

Powered by Google App Engine
This is Rietveld 408576698