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

Unified Diff: services/prediction/prediction_service_impl.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/prediction/prediction_service_impl.cc
diff --git a/services/prediction/prediction_service_impl.cc b/services/prediction/prediction_service_impl.cc
index 574102ac7b7f2220656d819ecb266a59a8af507e..4c53f67eadae17b3df0884afa6ebaeb8d993d107 100644
--- a/services/prediction/prediction_service_impl.cc
+++ b/services/prediction/prediction_service_impl.cc
@@ -35,8 +35,8 @@ PredictionServiceDelegate::PredictionServiceDelegate() {}
PredictionServiceDelegate::~PredictionServiceDelegate() {}
bool PredictionServiceDelegate::ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) {
- connection->GetServiceProviderImpl().AddService<PredictionService>(
+ mojo::ServiceProviderImpl* service_provider_impl) {
+ service_provider_impl->AddService<PredictionService>(
[](const mojo::ConnectionContext& connection_context,
mojo::InterfaceRequest<PredictionService> prediction_service_request) {
new PredictionServiceImpl(prediction_service_request.Pass());
« no previous file with comments | « services/prediction/prediction_service_impl.h ('k') | services/python/content_handler/content_handler_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698