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

Unified Diff: services/test_service/test_request_tracker.mojom

Issue 901463002: De-client TestRequestTracker (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months 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: 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 862bb7fbeb8402b861f5896ddb849adf86f310e0..91f8a2d444b72719b9dfdb5cb912850cafca277e 100644
--- a/services/test_service/test_request_tracker.mojom
+++ b/services/test_service/test_request_tracker.mojom
@@ -27,15 +27,8 @@ interface TestTrackedRequestService {
// TestRequestTracker records ServiceStats for an individual service
// connection for aggregation in a TestTrackedRequestService.
-[Client=TestRequestTrackerClient]
interface TestRequestTracker {
+ SetNameAndReturnId(string service_name) => (uint64 id);
// Upload a ServiceStats for tracking.
RecordStats(uint64 client_id, ServiceStats? stats);
};
-
-// The client-side contract for uploading ServiceStats to TestRequestTracker.
-interface TestRequestTrackerClient {
- const uint64 kInvalidId = 0;
- // Handshake to tell the client its global identifier and get the name.
- SetIdAndReturnName(uint64 id) => (string? service_name);
-};

Powered by Google App Engine
This is Rietveld 408576698