DescriptionAdd a stub implementation of the URLLoaderFactory for AppCache.
The AppCache factory has one instance per Storage partition and is maintained by the
URLLoaderFactoryGetter class.
The AppCache factory maintains a reference to the URLLoaderFactoryGetter instance
and uses it to retrieve the network service to issue unhandled requests to it.
Currently all requests are issued to the network service. Next step is to add functionality
to serve AppCache responses from the AppCache.
We no longer need the AppCacheNetworkServiceHandler class which was added in the last patchset.
Additionally the corresponding methods to initialize the AppCache factory in the AppCacheRequestHandler
class are also no longer needed.
BUG=715632
Review-Url: https://codereview.chromium.org/2891773002
Cr-Commit-Position: refs/heads/master@{#473081}
Committed: https://chromium.googlesource.com/chromium/src/+/2e65213dd03a7a0f277c5d16d460ae22d391f33c
Patch Set 1 #Patch Set 2 : Remove includes and address presubmit #Patch Set 3 : Fix compile failures #
Total comments: 28
Patch Set 4 : Address review comments #Patch Set 5 : Call the network service if the origin is not in the usage map in the AppCacheStorage instance #
Total comments: 2
Patch Set 6 : Address review comments #Patch Set 7 : Generate a request_id on the same lines as RDHI to prevent DCHECKs in metrics code which validate t… #
Total comments: 2
Patch Set 8 : Address final round of comments #Messages
Total messages: 35 (24 generated)
|