| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_ |
| #define SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_ |
| #include "base/memory/scoped_ptr.h" |
| #include "mojo/public/cpp/bindings/strong_binding.h" |
| #include "mojo/services/prediction/interfaces/prediction.mojom.h" |
| #include "services/prediction/dictionary_service.h" |
| class PredictionServiceImpl : public PredictionService { |
| explicit PredictionServiceImpl( |
| mojo::InterfaceRequest<PredictionService> request); |
| ~PredictionServiceImpl() override; |
| // PredictionService implementation |
| void GetPredictionList(PredictionInfoPtr prediction_info, |
| const GetPredictionListCallback& callback) override; |
| mojo::StrongBinding<PredictionService> strong_binding_; |
| scoped_ptr<latinime::ProximityInfo> proximity_settings_; |
| DictionaryService dictionary_service_; |
| DISALLOW_COPY_AND_ASSIGN(PredictionServiceImpl); |
| } // namespace prediction |
| #endif // SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_ |