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

Unified Diff: services/location/geocoder_service.js

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/geocoder.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/location/geocoder_service.js
diff --git a/examples/js/maps/geocoder_service.js b/services/location/geocoder_service.js
similarity index 93%
rename from examples/js/maps/geocoder_service.js
rename to services/location/geocoder_service.js
index 351a4606dfa894448880934268352da78256ad85..137308192649ce139e2c4bfb41f7dccb4ef1c380 100644
--- a/examples/js/maps/geocoder_service.js
+++ b/services/location/geocoder_service.js
@@ -2,20 +2,22 @@
define("main", [
"console",
- "examples/js/maps/geocoder.mojom",
"mojo/public/js/core",
"mojo/public/js/unicode",
+ "mojo/services/location/public/interfaces/geocoder.mojom",
+ "mojo/services/location/public/interfaces/location.mojom",
"mojo/services/public/js/application",
"mojo/services/network/public/interfaces/network_service.mojom",
"mojo/services/network/public/interfaces/url_loader.mojom",
"third_party/js/url",
-], function(console, geocoder, core, unicode, application, network, loader, url) {
+], function(console, core, unicode, geocoder, location, application, network,
+ loader, url) {
const Application = application.Application;
const Bounds = geocoder.Bounds;
const Geocoder = geocoder.Geocoder;
const Geometry = geocoder.Geometry;
- const Location = geocoder.Location;
+ const Location = location.Location;
const NetworkService = network.NetworkService;
const Result = geocoder.Result;
const Status = geocoder.Status;
« no previous file with comments | « mojo/services/location/public/interfaces/geocoder.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698