service worker: Cleanup around ServiceWorkerNetworkProvider
* Don't keep provider_id_ as a member, since the owned
ServiceWorkerProviderContext already has that, and is considered the source of
truth.
* Make IsControlledByServiceWorker and ServiceWorkerID function names more
consistent to show the relationship.
Change-Id: I3931071f0c6d26c22259bc5f4d521fb2abccb810
Reviewed-on: https://chromium-review.googlesource.com/618066
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#495150}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 984e012f71686c27d78243afccc3cef76e2ac52e
3 files changed