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/public/interfaces/prediction.mojom.h" | 9 #include "mojo/services/prediction/interfaces/prediction.mojom.h" |
10 | 10 |
11 namespace prediction { | 11 namespace prediction { |
12 | 12 |
13 class PredictionServiceImpl : public PredictionService { | 13 class PredictionServiceImpl : public PredictionService { |
14 public: | 14 public: |
15 explicit PredictionServiceImpl( | 15 explicit PredictionServiceImpl( |
16 mojo::InterfaceRequest<PredictionService> request); | 16 mojo::InterfaceRequest<PredictionService> request); |
17 ~PredictionServiceImpl() override; | 17 ~PredictionServiceImpl() override; |
18 | 18 |
19 // PredictionService implementation | 19 // PredictionService implementation |
(...skipping 21 matching lines...) Expand all Loading... |
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(mojo::ApplicationConnection* connection, |
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 |