summaryrefslogtreecommitdiffstats
path: root/content/renderer/BUILD.gn
diff options
context:
space:
mode:
authorblundell <blundell@chromium.org>2014-10-29 06:19:57 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-29 13:20:23 +0000
commitc57b93f1e66e06bbddb07348a2816aa4a7df1051 (patch)
tree7777bfa9794aa49191560205b7edbb645f4d61f5 /content/renderer/BUILD.gn
parent9a5d78e977ed0c349ffe41fb257e8525090a864e (diff)
downloadchromium_src-c57b93f1e66e06bbddb07348a2816aa4a7df1051.zip
chromium_src-c57b93f1e66e06bbddb07348a2816aa4a7df1051.tar.gz
chromium_src-c57b93f1e66e06bbddb07348a2816aa4a7df1051.tar.bz2
Partially 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} Review URL: https://codereview.chromium.org/628773003 Cr-Commit-Position: refs/heads/master@{#301824}
Diffstat (limited to 'content/renderer/BUILD.gn')
-rw-r--r--content/renderer/BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn
index feb8126..1bce262 100644
--- a/content/renderer/BUILD.gn
+++ b/content/renderer/BUILD.gn
@@ -31,6 +31,7 @@ source_set("renderer") {
"//content/common:mojo_bindings",
"//content/public/child:child_sources",
"//content/public/common:common_sources",
+ "//content/public/common:mojo_bindings",
"//device/battery:mojo_bindings",
"//gin",
"//gpu",