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

Side by Side Diff: services/prediction/prediction_service_impl.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_ 5 #ifndef SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_
6 #define SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_ 6 #define SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "mojo/services/prediction/interfaces/prediction.mojom.h" 9 #include "mojo/services/prediction/interfaces/prediction.mojom.h"
10 10
(...skipping 23 matching lines...) Expand all
34 public mojo::InterfaceFactory<PredictionService> { 34 public mojo::InterfaceFactory<PredictionService> {
35 public: 35 public:
36 PredictionServiceDelegate(); 36 PredictionServiceDelegate();
37 ~PredictionServiceDelegate() override; 37 ~PredictionServiceDelegate() override;
38 38
39 // mojo::ApplicationDelegate implementation 39 // mojo::ApplicationDelegate implementation
40 bool ConfigureIncomingConnection( 40 bool ConfigureIncomingConnection(
41 mojo::ApplicationConnection* connection) override; 41 mojo::ApplicationConnection* connection) override;
42 42
43 // mojo::InterfaceRequest<PredictionService> implementation 43 // mojo::InterfaceRequest<PredictionService> implementation
44 void Create(mojo::ApplicationConnection* connection, 44 void Create(const mojo::ConnectionContext& connection_context,
45 mojo::InterfaceRequest<PredictionService> request) override; 45 mojo::InterfaceRequest<PredictionService> request) override;
46 }; 46 };
47 47
48 } // namespace prediction 48 } // namespace prediction
49 49
50 #endif // SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_ 50 #endif // SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « services/native_viewport/app_delegate.cc ('k') | services/prediction/prediction_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698