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

Issue 2738303005: Move suborigin/serviceworker processing to ResourceFetcher::prepareRequest()

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

Description

Move suborigin/serviceworker processing to prepareRequest() To remove modifications to ResourceRequest in ResourceFetcher::startLoad(), this CL moves setServiceWorkerMode() call to ResourceFetcher::prepareRequest() from startLoad(). BUG=632580

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -9 lines) Patch
M third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp View 1 3 chunks +11 lines, -9 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (12 generated)
hiroshige
PTAL, japhet@ as loading owner, jww@ horo@ service worker: jww@ introduced this code block in ...
3 years, 9 months ago (2017-03-10 20:20:59 UTC) #6
hiroshige
PTAL, japhet@ as loading owner, jww@ horo@ service worker: jww@ introduced this code block in ...
3 years, 9 months ago (2017-03-10 20:20:59 UTC) #7
Nate Chapin
LGTM if serviceworker folks are happy.
3 years, 9 months ago (2017-03-11 00:51:38 UTC) #12
horo
lgtm If two pages are controlled by different service workers, they use different MemoryCache. But ...
3 years, 9 months ago (2017-03-13 08:07:52 UTC) #15
Mike West
LGTM. We haven't thought through the impact of suborigins on Foreign Fetch; we ought to. ...
3 years, 9 months ago (2017-03-22 18:05:03 UTC) #17
horo
On 2017/03/22 18:05:03, Mike West wrote: > LGTM. We haven't thought through the impact of ...
3 years, 9 months ago (2017-03-23 05:48:29 UTC) #18
jochen (gone - plz use gerrit)
is it possible to add a test for this?
3 years, 9 months ago (2017-03-23 15:52:12 UTC) #19
horo
3 years, 9 months ago (2017-03-24 04:26:29 UTC) #20
On 2017/03/23 15:52:12, jochen wrote:
> is it possible to add a test for this?

Created: https://codereview.chromium.org/2770213002

Powered by Google App Engine
This is Rietveld 408576698