| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |