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

Side by Side Diff: mojo/services/prediction/interfaces/prediction.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module prediction; 6 module prediction;
7 7
8 struct PrevWordInfo { 8 struct PrevWordInfo {
9 » string word; 9 string word;
10 » bool is_beginning_of_sentence; 10 bool is_beginning_of_sentence;
11 }; 11 };
12 12
13 struct PredictionInfo { 13 struct PredictionInfo {
14 » array<PrevWordInfo> previous_words; 14 array<PrevWordInfo> previous_words;
15 » string current_word; 15 string current_word;
16 }; 16 };
17 17
18 [ServiceName="prediction::PredictionService"] 18 [ServiceName="prediction::PredictionService"]
19 interface PredictionService { 19 interface PredictionService {
20 GetPredictionList(PredictionInfo prediction_info) => (array<string>? predictio n_list); 20 GetPredictionList(PredictionInfo prediction_info)
21 => (array<string>? prediction_list);
21 }; 22 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698