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 7c1c38a887af7d8da52ea95d6d10370ac476346d..1c681e8f659e7a37e31835f2ee50f70ba8133ffb 100644 |
--- a/services/python/mojo_url_redirector/__mojo__.py |
+++ b/services/python/mojo_url_redirector/__mojo__.py |
@@ -16,6 +16,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 |
@@ -92,7 +93,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_location_request.url = "%s/%s/%s_location" % ( |
self.app_location_files_url, requested_platform, requested_app) |
app_location_request.auto_follow_redirects = True |