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

Unified Diff: examples/indirect_service/indirect_service_demo.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
« no previous file with comments | « examples/echo/echo.mojom ('k') | examples/surfaces_app/child.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/indirect_service/indirect_service_demo.mojom
diff --git a/examples/indirect_service/indirect_service_demo.mojom b/examples/indirect_service/indirect_service_demo.mojom
index 830fdbafa237511df2b4ef8aaeaa9541afff85cd..dbf69a2b14d2516eae61ab4512714b9d8aaafeb9 100644
--- a/examples/indirect_service/indirect_service_demo.mojom
+++ b/examples/indirect_service/indirect_service_demo.mojom
@@ -4,10 +4,12 @@
module mojo.examples;
+[ServiceName="mojo::examples::IntegerService"]
interface IntegerService {
Increment() => (int32 value);
};
+[ServiceName="mojo::examples::IndirectIntegerService"]
interface IndirectIntegerService {
Set(IntegerService? service);
Get(IntegerService&? service);
« no previous file with comments | « examples/echo/echo.mojom ('k') | examples/surfaces_app/child.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698