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

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

Issue 985123002: Move geocoder code to location related path. This CL only moves files, no functional change. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/BUILD.gn ('k') | services/location/geocoder_service.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « mojo/services/location/public/interfaces/BUILD.gn ('k') | services/location/geocoder_service.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698