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

Unified Diff: services/authentication/main.cc

Issue 1979723002: ApplicationConnection devolution, part 3. (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/authentication/main.cc
diff --git a/services/authentication/main.cc b/services/authentication/main.cc
index dc17369a6d56fc9460c8f27f7241ca7d9d72b53a..ff23499bab7a1a31eda1b4d5ec4eeb409f9d4fae 100644
--- a/services/authentication/main.cc
+++ b/services/authentication/main.cc
@@ -31,8 +31,8 @@ class GoogleAccountManagerApp : public mojo::ApplicationDelegate {
}
bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override {
- connection->GetServiceProviderImpl().AddService<AuthenticationService>(
+ mojo::ServiceProviderImpl* service_provider_impl) override {
+ service_provider_impl->AddService<AuthenticationService>(
[this](const mojo::ConnectionContext& connection_context,
mojo::InterfaceRequest<AuthenticationService> request) {
mojo::files::Error error = mojo::files::Error::INTERNAL;

Powered by Google App Engine
This is Rietveld 408576698