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

Unified Diff: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_app.cc

Issue 1975993002: Change InterfaceFactory<I>::Create() to take a ConnectionContext instead of an ApplicationConnectio… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_app.cc
diff --git a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_app.cc b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_app.cc
index 051b36fba09a0bde04b4ae928996d07bafadfdf1..9dcf03fb40e740c07bb08b1ddd193e7648b3b186 100644
--- a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_app.cc
+++ b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_app.cc
@@ -29,9 +29,9 @@ bool AuthenticatingURLLoaderInterceptorApp::ConfigureIncomingConnection(
}
void AuthenticatingURLLoaderInterceptorApp::Create(
- ApplicationConnection* connection,
+ const mojo::ConnectionContext& connection_context,
InterfaceRequest<AuthenticatingURLLoaderInterceptorMetaFactory> request) {
- GURL app_url(connection->GetRemoteApplicationURL());
+ GURL app_url(connection_context.remote_url);
GURL app_origin;
if (app_url.is_valid()) {
app_origin = app_url.GetOrigin();

Powered by Google App Engine
This is Rietveld 408576698