Chromium Code Reviews

Unified Diff: services/authentication/main.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.
Jump to:
View side-by-side diff with in-line comments
Index: services/authentication/main.cc
diff --git a/services/authentication/main.cc b/services/authentication/main.cc
index 25c0140f2a005671d55aae0d5f301d7b80572fcf..bedd607795e4bff1ef69e36f86738e8e91b95650 100644
--- a/services/authentication/main.cc
+++ b/services/authentication/main.cc
@@ -39,7 +39,7 @@ class GoogleAccountManagerApp
return true;
}
- void Create(mojo::ApplicationConnection* connection,
+ void Create(const mojo::ConnectionContext& connection_context,
mojo::InterfaceRequest<AuthenticationService> request) override {
mojo::files::Error error = mojo::files::Error::INTERNAL;
mojo::files::DirectoryPtr directory;

Powered by Google App Engine