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

Unified Diff: services/python/mojo_url_redirector/__mojo__.py

Issue 1129063008: Move mojom definitions of URL{Request,Response} into SDK (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fix up deps from other mojoms Created 5 years, 7 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
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)

Powered by Google App Engine
This is Rietveld 408576698