Index: mojo/services/prediction/public/interfaces/prediction.mojom |
diff --git a/mojo/services/prediction/public/interfaces/prediction.mojom b/mojo/services/prediction/public/interfaces/prediction.mojom |
index 109a24a93b214bf5656db4a7b3322db72e71d1da..e0fc3170fd714a98f3db1fd3b4eec90dcb424393 100644 |
--- a/mojo/services/prediction/public/interfaces/prediction.mojom |
+++ b/mojo/services/prediction/public/interfaces/prediction.mojom |
@@ -4,19 +4,12 @@ |
module prediction; |
-struct Settings { |
- bool correction_enabled; |
- bool block_potentially_offensive; |
- bool space_aware_gesture_enabled; |
-}; |
- |
struct PredictionInfo { |
- array<string> previous_words; |
- string current_word; |
+ array<string> previous_words; |
+ array<bool> are_beginning_of_sentence; |
APW
2015/07/23 18:02:15
You should make a struct that has a string and boo
riajiang
2015/07/31 02:13:04
Done.
I don't think we need that to search for wo
APW
2015/07/31 21:49:15
What do you use the other is_beginning_of_sentence
|
+ string current_word; |
}; |
interface PredictionService { |
- SetSettings(Settings settings); |
- |
GetPredictionList(PredictionInfo prediction_info) => (array<string>? prediction_list); |
}; |