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

Unified Diff: services/test_service/test_service.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 | « services/test_service/test_request_tracker.mojom ('k') | shell/application_manager/test.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/test_service/test_service.mojom
diff --git a/services/test_service/test_service.mojom b/services/test_service/test_service.mojom
index 5144addc6139b6d8141d02a1a56dc8b9b157faf3..88486430be4d012e8ea5245fc5d6251d0a7895b9 100644
--- a/services/test_service/test_service.mojom
+++ b/services/test_service/test_service.mojom
@@ -4,6 +4,7 @@
module mojo.test;
+[ServiceName="mojo::test::TestService"]
interface TestService {
Ping() => ();
// Connect to a TestTimeService at |app_url| and ferry the data back
@@ -12,6 +13,7 @@ interface TestService {
StartTrackingRequests() => ();
};
+[ServiceName="mojo::test::TestTimeService"]
interface TestTimeService {
// Provides a constant time value.
GetPartyTime() => (int64 time_usec);
« no previous file with comments | « services/test_service/test_request_tracker.mojom ('k') | shell/application_manager/test.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698