network service: Create URLLoader for service worker navigation case
This forwards navigation requests optionally through a registered
service worker. It does this by reusing code in
ServiceWorkerRequestHandler through a new entry point
(ServiceWorkerRequestHandler::InitializeForNavigationNetworkService),
which is given the opportunity to create ia URLLoaderFactory for the
navigation.
Internally, ServiceWorkerRequestHandler still uses much of the same
machinery (ServiceWorkerStorage, ServiceWorkerVersion) as in the
non-network service case, with the addition of some shim code in
ServiceWorkerControlleeRequestHandler to forward to a new
ServiceWorkerControlleeURLLoaderFactory which uses
ServiceWorkerFetchDispatcher to retrieve the data (replacing
ServiceWorkerURLRequestJob in this path).
There's some placeholder ugliness in SWControllerURLLoaderFactory to
grab the blob returned from the Fetch and turn it into a data pipe. This
can be removed once the blob store is mojoified.
This is about as far as it gets at the moment
http://i.imgur.com/ViO1q5u.png (i.e. only the navigation requests).
There's no handling for the renderer resource requests yet, nor is there
any handling of context-side requests.
BUG=
715640