Index: mojo/services/location/public/interfaces/geocoder.mojom |
diff --git a/examples/js/maps/geocoder.mojom b/mojo/services/location/public/interfaces/geocoder.mojom |
similarity index 93% |
rename from examples/js/maps/geocoder.mojom |
rename to mojo/services/location/public/interfaces/geocoder.mojom |
index d7cbe4cffa68578f011560da9d983c4c3e2894aa..20a2371a8a8964aec44e173bdab8515523dc5d2d 100644 |
--- a/examples/js/maps/geocoder.mojom |
+++ b/mojo/services/location/public/interfaces/geocoder.mojom |
@@ -6,12 +6,9 @@ |
// "Google Maps JavaScript API v3" defined here: |
// https://developers.google.com/maps/documentation/javascript/geocoding |
-module geocoder; |
+module mojo; |
-struct Location { |
- float latitude; |
- float longitude; |
-}; |
+import "location/public/interfaces/location.mojom"; |
struct LocationType { |
const string ROOFTOP = "ROOFTOP"; |
@@ -26,7 +23,7 @@ struct Bounds { |
}; |
struct ComponentRestrictions { |
- string? administrative_area; |
+ string? administrative_area; |
string? country; |
string? locality; |
string? postal_code; |