Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: content/common/geolocation_service.mojom

Issue 628773003: Partially convert geolocation IPC to Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 import "content/public/common/mojo_geoposition.mojom"
6
7 module content {
8
9 // The Geolocation service provides updates on the device's location to its
10 // client. It starts providing updates once |StartUpdating()| is called and
11 // continues until the connection is closed. |StartUpdating()| can be called
12 // multiple times to change the accuracy with which the location is being
13 // tracked.
14 [Client=GeolocationServiceClient]
15 interface GeolocationService {
16 StartUpdating(bool high_accuracy);
17 };
18
19 interface GeolocationServiceClient {
20 OnLocationUpdate(MojoGeoposition geoposition);
21 };
22
23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698