ServiceWorker: Adds resultingClientId to fetch events

Intent to Implement and Ship:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/V4ZqlL0ngC4/-VeAA6qvAQAJ

The original CL was https://crrev.com/c/1053431. This CL is based on
that.

Before this CL, ServiceWorkerProviderHost::client_uuid() always returns the same
value, but it's actually needed to be renewed when cross origin redirect
happens. It became observable by introducing resultingClientId. This CL tries to
update the client id when cross origin redirect.

Bug: 778497
Change-Id: I7b1490dbe2b2038953bb923d355b42d9d8dd0bd0
Reviewed-on: https://chromium-review.googlesource.com/c/1331105
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Commit-Queue: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608738}
21 files changed