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

Unified Diff: mojo/services/prediction/interfaces/prediction.mojom

Issue 1454113003: Require an explicit ServiceName annotation for interfaces in C++. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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
Index: mojo/services/prediction/interfaces/prediction.mojom
diff --git a/mojo/services/prediction/interfaces/prediction.mojom b/mojo/services/prediction/interfaces/prediction.mojom
index e1397244bf754d7cfea720ad296a74d667542f72..627a7408d4c09e59f75330f638f762b1d1408ee3 100644
--- a/mojo/services/prediction/interfaces/prediction.mojom
+++ b/mojo/services/prediction/interfaces/prediction.mojom
@@ -15,6 +15,7 @@ struct PredictionInfo {
string current_word;
};
+[ServiceName="prediction::PredictionService"]
interface PredictionService {
GetPredictionList(PredictionInfo prediction_info) => (array<string>? prediction_list);
};
« no previous file with comments | « mojo/services/notifications/interfaces/notifications.mojom ('k') | mojo/services/surfaces/interfaces/display.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698