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

Issue 2660213003: Split requestResource into request preparation and loading (Closed)

Created:
3 years, 10 months ago by Yoav Weiss
Modified:
3 years, 10 months ago
CC:
chromium-reviews, tyoshino+watch_chromium.org, loading-reviews_chromium.org, gavinp+loader_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, kinuko+watch, Nate Chapin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split requestResource into request preparation and loading This CL is refactoring of requestResource in order to split the request preparation phase from the request loading phase. This would enable to separate these phases for link prefetch, in order to delay its actual loading. BUG=651160 Review-Url: https://codereview.chromium.org/2660213003 Cr-Commit-Position: refs/heads/master@{#447454} Committed: https://chromium.googlesource.com/chromium/src/+/ab7722c427586b8b0b7e0f82e2f3e7d5d67ec46a

Patch Set 1 #

Total comments: 3

Patch Set 2 : refactor so it makes more sense #

Total comments: 1

Patch Set 3 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -17 lines) Patch
M third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp View 1 2 4 chunks +36 lines, -17 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
Yoav Weiss
Hey Charlie, Mind taking a look? This CL doesn't change functionality, but logically splits requestResource ...
3 years, 10 months ago (2017-01-30 20:43:58 UTC) #5
Charlie Harrison
looks good, just a few comments. https://codereview.chromium.org/2660213003/diff/1/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp File third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/2660213003/diff/1/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp#newcode473 third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp:473: TRACE_EVENT1("blink", "ResourceFetcher::requestResource", "url", ...
3 years, 10 months ago (2017-01-30 22:02:58 UTC) #8
Yoav Weiss
On 2017/01/30 22:02:58, Charlie Harrison-slow til Feb3 wrote: > looks good, just a few comments. ...
3 years, 10 months ago (2017-01-31 18:39:59 UTC) #11
Charlie Harrison
LGTM even though the Resource*& makes me queasy :)
3 years, 10 months ago (2017-01-31 19:00:40 UTC) #12
Yoav Weiss
On 2017/01/31 19:00:40, Charlie Harrison-slow til Feb3 wrote: > LGTM even though the Resource*& makes ...
3 years, 10 months ago (2017-01-31 19:40:02 UTC) #13
Nate Chapin
Makes sense, just a parameter nitpick: https://codereview.chromium.org/2660213003/diff/20001/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp File third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/2660213003/diff/20001/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp#newcode460 third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp:460: Resource*& resource) { ...
3 years, 10 months ago (2017-01-31 19:40:22 UTC) #15
Yoav Weiss
On 2017/01/31 19:40:22, Nate Chapin wrote: > Makes sense, just a parameter nitpick: > > ...
3 years, 10 months ago (2017-01-31 20:44:20 UTC) #18
Charlie Harrison
still lgtm (non-owners)
3 years, 10 months ago (2017-01-31 20:46:46 UTC) #19
Yoav Weiss
On 2017/01/31 20:46:46, Charlie Harrison-slow til Feb3 wrote: > still lgtm (non-owners) Thanks! :) japhet@ ...
3 years, 10 months ago (2017-01-31 20:56:38 UTC) #20
Nate Chapin
LGTM
3 years, 10 months ago (2017-01-31 20:59:01 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/2660213003/40001
3 years, 10 months ago (2017-02-01 05:28:40 UTC) #25
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 05:40:11 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/ab7722c427586b8b0b7e0f82e2f3...

Powered by Google App Engine
This is Rietveld 408576698