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

Unified Diff: examples/surfaces_app/child.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: examples/surfaces_app/child.mojom
diff --git a/examples/surfaces_app/child.mojom b/examples/surfaces_app/child.mojom
index 1a387cb0e229bfa24ba1face2ff73eb152eb17d1..78392d070eabfc0efbdc2fae6462bccd27ba7840 100644
--- a/examples/surfaces_app/child.mojom
+++ b/examples/surfaces_app/child.mojom
@@ -6,6 +6,7 @@ import "mojo/services/geometry/interfaces/geometry.mojom";
import "mojo/services/surfaces/interfaces/quads.mojom";
import "mojo/services/surfaces/interfaces/surface_id.mojom";
+[ServiceName="Child"]
interface Child {
ProduceFrame(mojo.Color color, mojo.Size size) =>
(mojo.SurfaceId id);

Powered by Google App Engine
This is Rietveld 408576698