Chromium Code Reviews| Index: content/common/geolocation_service.mojom |
| diff --git a/content/common/geolocation_service.mojom b/content/common/geolocation_service.mojom |
| index 00d56400ba4639541a89737d5558992a27af403c..deea27181fd24d83abdb96775bccbe98a1f32c48 100644 |
| --- a/content/common/geolocation_service.mojom |
| +++ b/content/common/geolocation_service.mojom |
| @@ -6,14 +6,14 @@ module content; |
| import "content/public/common/mojo_geoposition.mojom"; |
| -// The Geolocation service provides updates on the device's location to its |
| -// client. By default, it provides updates with low accuracy, but |
| -// |SetHighAccuracy()| can be called to change this. |
| -[Client=GeolocationServiceClient] |
| +// The Geolocation service provides updates on the device's location. By |
| +// default, it provides updates with low accuracy, but |SetHighAccuracy()| may |
| +// be called to change this. |
| interface GeolocationService { |
| SetHighAccuracy(bool high_accuracy); |
| -}; |
| -interface GeolocationServiceClient { |
| - OnLocationUpdate(MojoGeoposition geoposition); |
| + // Position is reported once it changes or immediately if this is the first |
| + // call to QueryNextPosition on this instance. Position updates may be |
|
blundell
2015/01/09 07:37:26
Nit: What is the meaning of "immediately if this i
|
| + // throttled by the service. Overlapping calls to this method are supported. |
| + QueryNextPosition() => (MojoGeoposition geoposition); |
| }; |