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

Unified Diff: mojo/ui/view_provider_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
« no previous file with comments | « mojo/ui/view_provider_app.h ('k') | services/asset_bundle/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/ui/view_provider_app.cc
diff --git a/mojo/ui/view_provider_app.cc b/mojo/ui/view_provider_app.cc
index 432f00eaa03d002458944d05f7660ccf29cdd860..9df21e3fa9ea32eccee4ec249bc25299042d2ff9 100644
--- a/mojo/ui/view_provider_app.cc
+++ b/mojo/ui/view_provider_app.cc
@@ -57,10 +57,10 @@ bool ViewProviderApp::ConfigureIncomingConnection(
}
void ViewProviderApp::Create(
- mojo::ApplicationConnection* connection,
+ const mojo::ConnectionContext& connection_context,
mojo::InterfaceRequest<mojo::ui::ViewProvider> request) {
bindings_.AddBinding(
- new DelegatingViewProvider(this, connection->GetConnectionURL()),
+ new DelegatingViewProvider(this, connection_context.connection_url),
request.Pass());
}
« no previous file with comments | « mojo/ui/view_provider_app.h ('k') | services/asset_bundle/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698