blob: e1397244bf754d7cfea720ad296a74d667542f72 [file] [log] [blame]
// 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.
[DartPackage="mojo_services"]
module prediction;
struct PrevWordInfo {
string word;
bool is_beginning_of_sentence;
};
struct PredictionInfo {
array<PrevWordInfo> previous_words;
string current_word;
};
interface PredictionService {
GetPredictionList(PredictionInfo prediction_info) => (array<string>? prediction_list);
};