Chromium Code Reviews
DescriptionMake prepareRequest() a separate callback of FetchContext
- Split prepareRequest() from dispatchWillSendRequest() and willStartLoading()
- Move AppCache hook code into prepareRequest(), which looks more relevant
- Rename willStartLoading() to recordLoadingActivity() and makes it take const request
This still doesn't make dispatchWillSendRequest() take
const ResourceRequest& (see crbug.com/632580), but (I think) makes things
slightly more consistent & moves fetching logic out of context into fetcher
abstraction implementors like ResourceFetcher.
BUG=695279, 632580
Review-Url: https://codereview.chromium.org/2747203002
Cr-Commit-Position: refs/heads/master@{#459016}
Committed: https://chromium.googlesource.com/chromium/src/+/059d59531760005f8bfa5a03eab31fb9e3203ff5
Patch Set 1 #Patch Set 2 : . #
Total comments: 5
Patch Set 3 : addressed comments #Messages
Total messages: 39 (31 generated)
|