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

Unified Diff: services/test_service/test_request_tracker.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/native_viewport/native_viewport_support.mojom ('k') | services/test_service/test_service.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/test_service/test_request_tracker.mojom
diff --git a/services/test_service/test_request_tracker.mojom b/services/test_service/test_request_tracker.mojom
index 91f8a2d444b72719b9dfdb5cb912850cafca277e..0a43e4b6e180717056d75163dbdce96c197ac298 100644
--- a/services/test_service/test_request_tracker.mojom
+++ b/services/test_service/test_request_tracker.mojom
@@ -21,12 +21,14 @@ struct ServiceReport {
// A simple interface to obtain a "report" from all services that have
// opted to connect themselves to for request tracking.
+[ServiceName="mojo::test::TestTrackedRequestService"]
interface TestTrackedRequestService {
GetReport() => (array<ServiceReport?>? report);
};
// TestRequestTracker records ServiceStats for an individual service
// connection for aggregation in a TestTrackedRequestService.
+[ServiceName="mojo::test::TestRequestTracker"]
interface TestRequestTracker {
SetNameAndReturnId(string service_name) => (uint64 id);
// Upload a ServiceStats for tracking.
« no previous file with comments | « services/native_viewport/native_viewport_support.mojom ('k') | services/test_service/test_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698