| 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/public/cpp/application/application_delegate.h" | 9 #include "mojo/public/cpp/application/application_delegate.h" |
| 10 #include "mojo/public/cpp/bindings/strong_binding.h" | 10 #include "mojo/public/cpp/bindings/strong_binding.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 DISALLOW_COPY_AND_ASSIGN(PredictionServiceImpl); | 32 DISALLOW_COPY_AND_ASSIGN(PredictionServiceImpl); |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 class PredictionServiceDelegate : public mojo::ApplicationDelegate { | 35 class PredictionServiceDelegate : public mojo::ApplicationDelegate { |
| 36 public: | 36 public: |
| 37 PredictionServiceDelegate(); | 37 PredictionServiceDelegate(); |
| 38 ~PredictionServiceDelegate() override; | 38 ~PredictionServiceDelegate() override; |
| 39 | 39 |
| 40 // mojo::ApplicationDelegate implementation | 40 // mojo::ApplicationDelegate implementation |
| 41 bool ConfigureIncomingConnection( | 41 bool ConfigureIncomingConnection( |
| 42 mojo::ApplicationConnection* connection) override; | 42 mojo::ServiceProviderImpl* service_provider_impl) override; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace prediction | 45 } // namespace prediction |
| 46 | 46 |
| 47 #endif // SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_ | 47 #endif // SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_ |
| OLD | NEW |