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

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: update for monet 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
« no previous file with comments | « services/python/mojo_url_redirector/BUILD.gn ('k') | sky/services/oknet/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « services/python/mojo_url_redirector/BUILD.gn ('k') | sky/services/oknet/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698