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

Unified Diff: device/geolocation/public/interfaces/geolocation_manager.mojom

Issue 2975683002: Add GeolocationManager service (Closed)
Patch Set: Fix Windows dll-interface problem Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: device/geolocation/public/interfaces/geolocation_manager.mojom
diff --git a/device/geolocation/public/interfaces/geolocation_manager.mojom b/device/geolocation/public/interfaces/geolocation_manager.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..733e701ba762bc3cdcb22deccd6f002f90bc8a7c
--- /dev/null
+++ b/device/geolocation/public/interfaces/geolocation_manager.mojom
@@ -0,0 +1,13 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module device.mojom;
+
+// The Geolocation manager provides a service for trusted consumers to get the
Ken Rockot(use gerrit already) 2017/07/10 19:38:55 nit: please don't use the word "service" in an IPC
asimjour1 2017/07/10 20:45:50 Done.
+// information across all the frames.
+interface GeolocationManager {
Ken Rockot(use gerrit already) 2017/07/10 19:38:55 Maybe GeolocationConfig is a more accurate name?
asimjour1 2017/07/10 20:45:50 The name came from https://bugs.chromium.org/p/chr
+ // Returns true if the location is being captured and high_accurary is
+ // enabled.
+ IsHighAccuracyLocationBeingCaptured() => (bool high_accuracy);
amp 2017/07/10 20:13:25 Why not add this to the existing geolocation.mojom
asimjour1 2017/07/10 20:45:50 Geolocation.mojom is per-frame interface and it is
+};

Powered by Google App Engine
This is Rietveld 408576698