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

Unified Diff: mojo/public/interfaces/bindings/tests/versioning_test_client.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/public/interfaces/bindings/tests/versioning_test_client.mojom
diff --git a/mojo/public/interfaces/bindings/tests/versioning_test_client.mojom b/mojo/public/interfaces/bindings/tests/versioning_test_client.mojom
index f32d1deebe7e639cd76fbb309ea98edcb1d2c0dc..a1f0754c5d411e90b35aa9ef3a7024cec53b037d 100644
--- a/mojo/public/interfaces/bindings/tests/versioning_test_client.mojom
+++ b/mojo/public/interfaces/bindings/tests/versioning_test_client.mojom
@@ -20,6 +20,7 @@ struct Employee {
Department department;
};
+[ServiceName="mojo::test::versioning::HumanResourceDatabase"]
interface HumanResourceDatabase {
AddEmployee(Employee employee) => (bool success);
« no previous file with comments | « examples/surfaces_app/child.mojom ('k') | mojo/public/interfaces/bindings/tests/versioning_test_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698