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

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

Issue 2975683002: Add GeolocationManager service (Closed)
Patch Set: Add GeolocationManager service 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..272acaad359a69fe940451beec73e4e4cac061a7
--- /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 an interface for trusted consumers to get the
+// information across all the frames.
blundell 2017/07/11 09:08:34 nit: // Provides an interface for trusted consumer
asimjour1 2017/07/11 15:04:12 Done.
+interface GeolocationManager {
blundell 2017/07/11 09:08:34 I suggested the name GeolocationManager to you, bu
asimjour1 2017/07/11 15:04:12 Done.
+ // Returns true if the location is being captured and high_accurary is
+ // enabled.
+ IsHighAccuracyLocationBeingCaptured() => (bool high_accuracy);
+};

Powered by Google App Engine
This is Rietveld 408576698