Index: services/python/mojo_url_redirector/__mojo__.py |
diff --git a/services/python/mojo_url_redirector/__mojo__.py b/services/python/mojo_url_redirector/__mojo__.py |
index a7ff3b9c8af5832a1d5d3f9743b956e7af0e9ebb..9688535981957a4711de306253058617f47adb56 100644 |
--- a/services/python/mojo_url_redirector/__mojo__.py |
+++ b/services/python/mojo_url_redirector/__mojo__.py |
@@ -15,6 +15,7 @@ import http_server_factory_mojom |
import net_address_mojom |
import network_service_mojom |
import service_provider_mojom |
+import url_request_mojom |
import url_loader_mojom |
from mojo_application import application_delegate |
@@ -91,7 +92,7 @@ class MojoUrlRedirector(http_server_mojom.HttpHandler): |
def RedirectToCurrentAppLocation(self, requested_platform, requested_app): |
# Construct a URLRequest to fetch the app location file... |
- app_location_request = url_loader_mojom.UrlRequest() |
+ app_location_request = url_request_mojom.UrlRequest() |
app_name, _ = os.path.splitext(requested_app) |
app_location_request.url = "%s/%s/%s_location" % ( |
self.app_location_files_url, requested_platform, app_name) |