DescriptionPartially convert geolocation IPC to Mojo.
This CL converts the non-permissions-related geolocation IPC to Mojo. The Mojo
GeolocationService interface allows clients to observe location updates. In
//content, the service and its client connect on a per-frame basis, eliminating
the need for the tracking of multiple frames that GeolocationDispatcherHost had
previously been doing. To handle the fact that geolocation updates can be
paused and resumed at per-WebContents granularity, we introduce a
GeolocationServiceContext class, which is used to scope the granularity of
pauses and resumes.
Currently, GeolocationDispatcherHost still handles permissions-related
geolocation IPC. This IPC will be moved to Mojo once there is resolution on
what the right model for handling permissions there is.
BUG=420497
TEST=Go to maps.google.com, allow location tracking, and check that your
location is correctly pinpointed on the map.
Committed: https://crrev.com/28e88081438dc08b06d5f05cfdd980c407db1638
Cr-Commit-Position: refs/heads/master@{#301604}
Committed: https://crrev.com/c57b93f1e66e06bbddb07348a2816aa4a7df1051
Cr-Commit-Position: refs/heads/master@{#301824}
Patch Set 1 #Patch Set 2 : Self-review #
Total comments: 5
Patch Set 3 : Fix Clang compile #Patch Set 4 : Response to review, fix gn build #
Total comments: 15
Patch Set 5 : Handle WebContents going away #
Total comments: 14
Patch Set 6 : Response to review #
Total comments: 13
Patch Set 7 : Rebase, Add in https://codereview.chromium.org/667683002/ for testing #Patch Set 8 : Response to reviews, port override impl #
Total comments: 12
Patch Set 9 : Response to review #Patch Set 10 : Rebase, fix build error #
Total comments: 2
Patch Set 11 : Rebase #Patch Set 12 : Start providing updates on connection #
Total comments: 2
Patch Set 13 : Process review, add security OWNERS #
Total comments: 12
Patch Set 14 : Response to review #Patch Set 15 : Restrict mojom OWNERS to tsepez #Patch Set 16 : Rebase #Patch Set 17 : Rebase #Patch Set 18 : Prevert crash when setting override #Patch Set 19 : Rebase #Messages
Total messages: 68 (13 generated)
|