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

Unified Diff: services/prediction/prediction_service_impl.h

Issue 1247903003: Add spellcheck and word suggestion to the prediction service (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: format README and CHROMIUM.diff Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/prediction/prediction_apptests.cc ('k') | services/prediction/prediction_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/prediction/prediction_service_impl.h
diff --git a/services/prediction/prediction_service_impl.h b/services/prediction/prediction_service_impl.h
index b0dbdab4d1bd465667b635e7ee2908346c541f03..6238f2e1b1e3f80e21991b91dd9efa86a3e9ab39 100644
--- a/services/prediction/prediction_service_impl.h
+++ b/services/prediction/prediction_service_impl.h
@@ -5,6 +5,7 @@
#ifndef SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_
#define SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_
+#include "base/memory/scoped_ptr.h"
#include "mojo/services/prediction/public/interfaces/prediction.mojom.h"
namespace prediction {
@@ -16,15 +17,15 @@ class PredictionServiceImpl : public PredictionService {
~PredictionServiceImpl() override;
// PredictionService implementation
- void SetSettings(SettingsPtr settings) override;
-
void GetPredictionList(PredictionInfoPtr prediction_info,
const GetPredictionListCallback& callback) override;
private:
- Settings stored_settings_;
mojo::StrongBinding<PredictionService> strong_binding_;
+ scoped_ptr<latinime::ProximityInfo> proximity_settings_;
+ DictionaryService dictionary_service_;
+
DISALLOW_COPY_AND_ASSIGN(PredictionServiceImpl);
};
« no previous file with comments | « services/prediction/prediction_apptests.cc ('k') | services/prediction/prediction_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698