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

Side by Side Diff: mojo/services/location/public/interfaces/location.mojom

Issue 1071693003: Uses mojom module names as Dart's package: import URI (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [DartUriBase="mojo/services/location/public/interfaces"]
5 module mojo; 6 module mojo;
6 7
7 // A location fix representing a geographic location (latitude, longitude, time) 8 // A location fix representing a geographic location (latitude, longitude, time)
8 // and associated information like altitude, bearing, etc. 9 // and associated information like altitude, bearing, etc.
9 // 10 //
10 // This is based on 11 // This is based on
11 // http://developer.android.com/reference/android/location/Location.html . 12 // http://developer.android.com/reference/android/location/Location.html .
12 struct Location { 13 struct Location {
13 // UTC time of this fix, in milliseconds since January 1, 1970. 14 // UTC time of this fix, in milliseconds since January 1, 1970.
14 uint64 time; 15 uint64 time;
(...skipping 20 matching lines...) Expand all
35 float speed; 36 float speed;
36 37
37 // In degrees. 38 // In degrees.
38 bool has_bearing = false; 39 bool has_bearing = false;
39 float bearing; 40 float bearing;
40 41
41 // Estimated accuracy of this fix in meters. 42 // Estimated accuracy of this fix in meters.
42 bool has_accuracy = false; 43 bool has_accuracy = false;
43 float accuracy; 44 float accuracy;
44 }; 45 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698