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

Unified Diff: mojo/services/location/public/interfaces/location_service.mojom

Issue 1398973004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 2). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_1
Patch Set: add missing copyright notices Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/location/public/interfaces/location.mojom ('k') | mojo/services/mojo_services.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/location/public/interfaces/location_service.mojom
diff --git a/mojo/services/location/public/interfaces/location_service.mojom b/mojo/services/location/public/interfaces/location_service.mojom
deleted file mode 100644
index 1e31ad7d65adcf9b8ff25a1161454d15d1c9c392..0000000000000000000000000000000000000000
--- a/mojo/services/location/public/interfaces/location_service.mojom
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2015 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.
-
-[DartPackage="mojo_services"]
-module mojo;
-
-import "location/public/interfaces/location.mojom";
-
-// LocationService provides updates on the device's location.
-// NOTE: This is specifically targetted towards use on Android by
-// implementations which are thin wrappers over the Android Location API or the
-// Google Play Services Location API. If we ever want to expand this to multiple
-// platforms or if it starts growing in complexity, we should strongly consider
-// use of Chromium's geolocation code.
-interface LocationService {
- enum UpdatePriority {
- // Use this setting to request location precision to within a city block.
- PRIORITY_BALANCED_POWER_ACCURACY,
- // Use this setting to request the most precise location possible.
- PRIORITY_HIGH_ACCURACY,
- // Use this setting to request city-level precision.
- PRIORITY_LOW_POWER,
- // Use this setting if you need negligible impact on power consumption,
- // but want to receive location updates when available.
- PRIORITY_NO_POWER,
- };
-
- // Returns a location when it changes, based on |priority|. If this is the
- // initial call, the last known location is returned immediately, if
- // available.
- // Returns NULL if the client requests a new location while a request is
- // already in flight.
- GetNextLocation(UpdatePriority priority) => (Location? location);
-};
« no previous file with comments | « mojo/services/location/public/interfaces/location.mojom ('k') | mojo/services/mojo_services.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698